#9E7CED#9E7CED

#9E7CED is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.8% C 0.164 H 295.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9E7CED
RGBrgb(158, 124, 237)
HSLhsl(258, 76%, 71%)
HSVhsv(258, 48%, 93%)
CMYKcmyk(33.3%, 47.7%, 0%, 7.1%)
CIE-LABlab(59.71, 37.41, -52.57)
CIE-LCHlch(59.71, 64.52, 305.44°)
OKLaboklab(66.79% 0.0706 -0.1482)
OKLCHoklch(66.79% 0.164 295.5)
XYZxyz(36.5904, 27.7982, 83.5422)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7CED #CBED7C
analogous
#7C92ED #9E7CED #D67CED
triadic
#9E7CED #ED9E7C #7CED9E
tetradic
#9E7CED #ED7C92 #CBED7C #7CEDD6
square
#9E7CED #ED7C92 #CBED7C #7CEDD6
split-complementary
#9E7CED #EDD67C #92ED7C
monochromatic
#531DD2 #7646E6 #9E7CED #C6B2F4 #EBE4FB

Accessibility & contrast

On white

3.20
#9E7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9E7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7CED
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7CED#FFFFFF#000000##000000
##9E7CED1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#8C92A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e7ced;
/* rgb */ color: rgb(158, 124, 237);
/* oklch */ color: oklch(66.8% 0.164 295.5);
Tailwind
colors: {
  custom: {
    50: '#bea2f3',
    500: '#9e7ced',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ced;
$custom-light: #bea2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ced",
  "rgb": {
    "r": 158,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 258.053,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.16415,
    "h": 295.5
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

primary
#9E7CED
secondary
#E8F2D3
accent
#D80D9B
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9E7CED

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

Preview Lab → · Contrast checker → · Palette generator →

#9E7CED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva