#917BED#917BED

#917BED is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.165 H 289.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#917BED
RGBrgb(145, 123, 237)
HSLhsl(252, 76%, 71%)
HSVhsv(252, 48%, 93%)
CMYKcmyk(38.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(58.32, 34.74, -54.84)
CIE-LCHlch(58.32, 64.92, 302.35°)
OKLaboklab(65.47% 0.0563 -0.1552)
OKLCHoklch(65.47% 0.165 289.9)
XYZxyz(34.0419, 26.2991, 83.3870)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917BED #D7ED7B
analogous
#7B9EED #917BED #CA7BED
triadic
#917BED #ED917B #7BED91
tetradic
#917BED #ED7B9E #D7ED7B #7BEDCA
square
#917BED #ED7B9E #D7ED7B #7BEDCA
split-complementary
#917BED #EDCA7B #9EED7B
monochromatic
#3F1DD1 #6445E6 #917BED #BEB1F4 #E9E4FB

Accessibility & contrast

On white

3.35
#917BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#917BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917BED
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917BED#FFFFFF#000000##000000
##917BED1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#7892A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #917bed;
/* rgb */ color: rgb(145, 123, 237);
/* oklch */ color: oklch(65.5% 0.165 289.9);
Tailwind
colors: {
  custom: {
    50: '#b5a1f3',
    500: '#917bed',
    950: '#000000',
  },
}
SCSS
$custom: #917bed;
$custom-light: #b5a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#917bed",
  "rgb": {
    "r": 145,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 251.579,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65472,
    "c": 0.16508,
    "h": 289.9
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#917BED
secondary
#EBF1D2
accent
#D80DB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #917BED

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

Preview Lab → · Contrast checker → · Palette generator →

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