#917CE6#917CE6

#917CE6 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.154 H 290.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#917CE6
RGBrgb(145, 124, 230)
HSLhsl(252, 68%, 69%)
HSVhsv(252, 46%, 90%)
CMYKcmyk(37%, 46.1%, 0%, 9.8%)
CIE-LABlab(58.18, 32.28, -51.18)
CIE-LCHlch(58.18, 60.50, 302.24°)
OKLaboklab(65.24% 0.0543 -0.1444)
OKLCHoklch(65.24% 0.154 290.6)
XYZxyz(33.1638, 26.1473, 78.1472)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917CE6 #D1E67C
analogous
#7C9CE6 #917CE6 #C67CE6
triadic
#917CE6 #E6917C #7CE691
tetradic
#917CE6 #E67C9C #D1E67C #7CE6C6
square
#917CE6 #E67C9C #D1E67C #7CE6C6
split-complementary
#917CE6 #E6C67C #9CE67C
monochromatic
#4425C2 #6649DC #917CE6 #BCAFF0 #E7E3FA

Accessibility & contrast

On white

3.37
#917CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#917CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917CE6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917CE6#FFFFFF#000000##000000
##917CE61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEA
Deuteranopia (green-blind)
#588AE4
Tritanopia (blue-blind)
#7B91A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #917ce6;
/* rgb */ color: rgb(145, 124, 230);
/* oklch */ color: oklch(65.2% 0.154 290.6);
Tailwind
colors: {
  custom: {
    50: '#b5a2ee',
    500: '#917ce6',
    950: '#000000',
  },
}
SCSS
$custom: #917ce6;
$custom-light: #b5a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#917ce6",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 251.887,
    "s": 67.949,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65241,
    "c": 0.15428,
    "h": 290.6
  },
  "luminance": 0.26148
}

Semantic roles & 50–950 ramp

primary
#917CE6
secondary
#E8EED0
accent
#D016AB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #917CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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