#917EC6#917EC6

#917EC6 is a light, moderate violet. Relative luminance 0.250; OKLCH L 63.9% C 0.107 H 295.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#917EC6
RGBrgb(145, 126, 198)
HSLhsl(256, 39%, 64%)
HSVhsv(256, 36%, 78%)
CMYKcmyk(26.8%, 36.4%, 0%, 22.4%)
CIE-LABlab(57.09, 22.82, -34.88)
CIE-LCHlch(57.09, 41.68, 303.19°)
OKLaboklab(63.91% 0.0459 -0.0971)
OKLCHoklch(63.91% 0.107 295.3)
XYZxyz(29.3285, 25.0183, 56.6990)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917EC6 #B3C67E
analogous
#7E8FC6 #917EC6 #B57EC6
triadic
#917EC6 #C6917E #7EC691
tetradic
#917EC6 #C67E8F #B3C67E #7EC6B5
square
#917EC6 #C67E8F #B3C67E #7EC6B5
split-complementary
#917EC6 #C6B57E #8FC67E
monochromatic
#523E8C #6D54B3 #917EC6 #B5A8D9 #D9D3EC

Accessibility & contrast

On white

3.50
#917EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#917EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917EC6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917EC6#FFFFFF#000000##000000
##917EC61.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8AC9
Deuteranopia (green-blind)
#6E88C4
Tritanopia (blue-blind)
#868A99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #917ec6;
/* rgb */ color: rgb(145, 126, 198);
/* oklch */ color: oklch(63.9% 0.107 295.3);
Tailwind
colors: {
  custom: {
    50: '#b3a3d7',
    500: '#917ec6',
    950: '#000000',
  },
}
SCSS
$custom: #917ec6;
$custom-light: #b3a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#917ec6",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 255.833,
    "s": 38.71,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63908,
    "c": 0.10738,
    "h": 295.3
  },
  "luminance": 0.25019
}

Semantic roles & 50–950 ramp

primary
#917EC6
secondary
#D6DDC3
accent
#B23490
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #917EC6

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

Preview Lab → · Contrast checker → · Palette generator →

#917EC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva