#917AFA#917AFA

#917AFA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.184 H 288.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#917AFA
RGBrgb(145, 122, 250)
HSLhsl(251, 93%, 73%)
HSVhsv(251, 51%, 98%)
CMYKcmyk(42%, 51.2%, 0%, 2%)
CIE-LABlab(58.83, 38.86, -61.23)
CIE-LCHlch(58.83, 72.52, 302.40°)
OKLaboklab(66.09% 0.0586 -0.1739)
OKLCHoklch(66.09% 0.184 288.6)
XYZxyz(35.8871, 26.8397, 93.7137)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917AFA #E3FA7A
analogous
#7AA3FA #917AFA #D17AFA
triadic
#917AFA #FA917A #7AFA91
tetradic
#917AFA #FA7AA3 #E3FA7A #7AFAD1
square
#917AFA #FA7AA3 #E3FA7A #7AFAD1
split-complementary
#917AFA #FAD17A #A3FA7A
monochromatic
#3309F1 #603FF8 #917AFA #C2B5FC #E7E2FE

Accessibility & contrast

On white

3.30
#917AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#917AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917AFA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917AFA#FFFFFF#000000##000000
##917AFA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FE
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#7295AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #917afa;
/* rgb */ color: rgb(145, 122, 250);
/* oklch */ color: oklch(66.1% 0.184 288.6);
Tailwind
colors: {
  custom: {
    50: '#b7a1fd',
    500: '#917afa',
    950: '#000000',
  },
}
SCSS
$custom: #917afa;
$custom-light: #b7a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#917afa",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 250.781,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.18351,
    "h": 288.6
  },
  "luminance": 0.26841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #917AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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