#9D7CED#9D7CED

#9D7CED is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.7% C 0.164 H 295.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9D7CED
RGBrgb(157, 124, 237)
HSLhsl(258, 76%, 71%)
HSVhsv(258, 48%, 93%)
CMYKcmyk(33.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(59.61, 37.16, -52.72)
CIE-LCHlch(59.61, 64.50, 305.18°)
OKLaboklab(66.7% 0.0694 -0.1486)
OKLCHoklch(66.7% 0.164 295)
XYZxyz(36.3945, 27.6972, 83.5330)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7CED #CCED7C
analogous
#7C93ED #9D7CED #D57CED
triadic
#9D7CED #ED9D7C #7CED9D
tetradic
#9D7CED #ED7C93 #CCED7C #7CEDD5
square
#9D7CED #ED7C93 #CCED7C #7CEDD5
split-complementary
#9D7CED #EDD57C #93ED7C
monochromatic
#521DD2 #7546E6 #9D7CED #C5B2F4 #EBE4FB

Accessibility & contrast

On white

3.21
#9D7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9D7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7CED
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7CED#FFFFFF#000000##000000
##9D7CED1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d7ced;
/* rgb */ color: rgb(157, 124, 237);
/* oklch */ color: oklch(66.7% 0.164 295.0);
Tailwind
colors: {
  custom: {
    50: '#bda2f3',
    500: '#9d7ced',
    950: '#000000',
  },
}
SCSS
$custom: #9d7ced;
$custom-light: #bda2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7ced",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 257.522,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66697,
    "c": 0.16407,
    "h": 295
  },
  "luminance": 0.27698
}

Semantic roles & 50–950 ramp

primary
#9D7CED
secondary
#E9F2D3
accent
#D80D9D
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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