#917ED4#917ED4

#917ED4 is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.6% C 0.127 H 292.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#917ED4
RGBrgb(145, 126, 212)
HSLhsl(253, 50%, 66%)
HSVhsv(253, 41%, 83%)
CMYKcmyk(31.6%, 40.6%, 0%, 16.9%)
CIE-LABlab(57.75, 26.37, -41.77)
CIE-LCHlch(57.75, 49.40, 302.27°)
OKLaboklab(64.62% 0.0488 -0.117)
OKLCHoklch(64.62% 0.127 292.6)
XYZxyz(31.0186, 25.6943, 65.5999)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917ED4 #C1D47E
analogous
#7E96D4 #917ED4 #BC7ED4
triadic
#917ED4 #D4917E #7ED491
tetradic
#917ED4 #D47E96 #C1D47E #7ED4BC
square
#917ED4 #D47E96 #C1D47E #7ED4BC
split-complementary
#917ED4 #D4BC7E #96D47E
monochromatic
#4E36A2 #6A50C5 #917ED4 #B8ACE3 #DFDAF3

Accessibility & contrast

On white

3.42
#917ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#917ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917ED4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917ED4#FFFFFF#000000##000000
##917ED41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD7
Deuteranopia (green-blind)
#6689D2
Tritanopia (blue-blind)
#828E9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #917ed4;
/* rgb */ color: rgb(145, 126, 212);
/* oklch */ color: oklch(64.6% 0.127 292.6);
Tailwind
colors: {
  custom: {
    50: '#b3a3e1',
    500: '#917ed4',
    950: '#000000',
  },
}
SCSS
$custom: #917ed4;
$custom-light: #b3a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#917ed4",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 253.256,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.12679,
    "h": 292.6
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#917ED4
secondary
#DFE5C9
accent
#BD289C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #917ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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