#917DED#917DED

#917DED is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.8% C 0.162 H 289.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#917DED
RGBrgb(145, 125, 237)
HSLhsl(251, 76%, 71%)
HSVhsv(251, 47%, 93%)
CMYKcmyk(38.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(58.79, 33.58, -54.10)
CIE-LCHlch(58.79, 63.67, 301.83°)
OKLaboklab(65.82% 0.0538 -0.153)
OKLCHoklch(65.82% 0.162 289.4)
XYZxyz(34.2925, 26.8004, 83.4705)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917DED #D9ED7D
analogous
#7DA1ED #917DED #C97DED
triadic
#917DED #ED917D #7DED91
tetradic
#917DED #ED7DA1 #D9ED7D #7DEDC9
square
#917DED #ED7DA1 #D9ED7D #7DEDC9
split-complementary
#917DED #EDC97D #A1ED7D
monochromatic
#3E1DD2 #6447E6 #917DED #BEB3F4 #E8E4FB

Accessibility & contrast

On white

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

On black

6.36
#917DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917DED
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917DED#FFFFFF#000000##000000
##917DED1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#538BEA
Tritanopia (blue-blind)
#7893AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #917ded;
/* rgb */ color: rgb(145, 125, 237);
/* oklch */ color: oklch(65.8% 0.162 289.4);
Tailwind
colors: {
  custom: {
    50: '#b5a3f3',
    500: '#917ded',
    950: '#000000',
  },
}
SCSS
$custom: #917ded;
$custom-light: #b5a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#917ded",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 250.714,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.16217,
    "h": 289.4
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#917DED
secondary
#ECF2D4
accent
#D80EB4
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #917DED

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

Preview Lab → · Contrast checker → · Palette generator →

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