#917BF9#917BF9

#917BF9 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.181 H 288.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#917BF9
RGBrgb(145, 123, 249)
HSLhsl(250, 91%, 73%)
HSVhsv(250, 51%, 98%)
CMYKcmyk(41.8%, 50.6%, 0%, 2.4%)
CIE-LABlab(59.00, 38.01, -60.41)
CIE-LCHlch(59.00, 71.37, 302.18°)
OKLaboklab(66.2% 0.0573 -0.1715)
OKLCHoklch(66.2% 0.181 288.5)
XYZxyz(35.8541, 27.0240, 92.9312)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917BF9 #E3F97B
analogous
#7BA4F9 #917BF9 #D07BF9
triadic
#917BF9 #F9917B #7BF991
tetradic
#917BF9 #F97BA4 #E3F97B #7BF9D0
square
#917BF9 #F97BA4 #E3F97B #7BF9D0
split-complementary
#917BF9 #F9D07B #A4F97B
monochromatic
#330BEF #6040F6 #917BF9 #C2B6FC #E7E2FE

Accessibility & contrast

On white

3.28
#917BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#917BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917BF9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917BF9#FFFFFF#000000##000000
##917BF91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#448BF6
Tritanopia (blue-blind)
#7395AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #917bf9;
/* rgb */ color: rgb(145, 123, 249);
/* oklch */ color: oklch(66.2% 0.181 288.5);
Tailwind
colors: {
  custom: {
    50: '#b6a1fc',
    500: '#917bf9',
    950: '#000000',
  },
}
SCSS
$custom: #917bf9;
$custom-light: #b6a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#917bf9",
  "rgb": {
    "r": 145,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 250.476,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66197,
    "c": 0.18083,
    "h": 288.5
  },
  "luminance": 0.27025
}

Semantic roles & 50–950 ramp

primary
#917BF9
secondary
#F0F6D5
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #917BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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