#754FC6#754FC6

#754FC6 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.177 H 294.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#754FC6
RGBrgb(117, 79, 198)
HSLhsl(259, 51%, 54%)
HSVhsv(259, 60%, 78%)
CMYKcmyk(40.9%, 60.1%, 0%, 22.4%)
CIE-LABlab(43.43, 42.80, -56.75)
CIE-LCHlch(43.43, 71.08, 307.02°)
OKLaboklab(53.05% 0.0729 -0.1616)
OKLCHoklch(53.05% 0.177 294.3)
XYZxyz(20.3224, 13.4506, 54.9406)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC6 #A0C64F
analogous
#4F65C6 #754FC6 #B14FC6
triadic
#754FC6 #C6754F #4FC675
tetradic
#754FC6 #C64F65 #A0C64F #4FC6B1
square
#754FC6 #C64F65 #A0C64F #4FC6B1
split-complementary
#754FC6 #C6B14F #65C64F
monochromatic
#3F2675 #5835A3 #754FC6 #997DD5 #BDABE4

Accessibility & contrast

On white

5.69
#754FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#754FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FC6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC6#FFFFFF#000000##FFFFFF
##754FC61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#0D65C3
Tritanopia (blue-blind)
#606983
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754fc6;
/* rgb */ color: rgb(117, 79, 198);
/* oklch */ color: oklch(53.1% 0.177 294.3);
Tailwind
colors: {
  custom: {
    50: '#a282d8',
    500: '#754fc6',
    950: '#000000',
  },
}
SCSS
$custom: #754fc6;
$custom-light: #a282d8;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc6",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 259.16,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.17731,
    "h": 294.3
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#754FC6
secondary
#C2D29F
accent
#DB4DAD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #754FC6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#754FC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva