#917BFA#917BFA

#917BFA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.182 H 288.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#917BFA
RGBrgb(145, 123, 250)
HSLhsl(250, 93%, 73%)
HSVhsv(250, 51%, 98%)
CMYKcmyk(42%, 50.8%, 0%, 2%)
CIE-LABlab(59.05, 38.29, -60.87)
CIE-LCHlch(59.05, 71.91, 302.17°)
OKLaboklab(66.26% 0.0574 -0.1728)
OKLCHoklch(66.26% 0.182 288.4)
XYZxyz(36.0105, 27.0865, 93.7548)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917BFA #E4FA7B
analogous
#7BA4FA #917BFA #D17BFA
triadic
#917BFA #FA917B #7BFA91
tetradic
#917BFA #FA7BA4 #E4FA7B #7BFAD1
square
#917BFA #FA7BA4 #E4FA7B #7BFAD1
split-complementary
#917BFA #FAD17B #A4FA7B
monochromatic
#3109F1 #6040F8 #917BFA #C2B6FC #E6E2FE

Accessibility & contrast

On white

3.27
#917BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#917BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917BFA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917BFA#FFFFFF#000000##000000
##917BFA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#7296AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #917bfa;
/* rgb */ color: rgb(145, 123, 250);
/* oklch */ color: oklch(66.3% 0.182 288.4);
Tailwind
colors: {
  custom: {
    50: '#b6a1fd',
    500: '#917bfa',
    950: '#000000',
  },
}
SCSS
$custom: #917bfa;
$custom-light: #b6a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#917bfa",
  "rgb": {
    "r": 145,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 250.394,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.18213,
    "h": 288.4
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#917BFA
secondary
#F0F6D5
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #917BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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