#9D7CD2#9D7CD2

#9D7CD2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.2% C 0.129 H 300.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9D7CD2
RGBrgb(157, 124, 210)
HSLhsl(263, 49%, 65%)
HSVhsv(263, 41%, 82%)
CMYKcmyk(25.2%, 41%, 0%, 17.6%)
CIE-LABlab(58.26, 30.42, -39.76)
CIE-LCHlch(58.26, 50.06, 307.42°)
OKLaboklab(65.24% 0.0655 -0.1109)
OKLCHoklch(65.24% 0.129 300.6)
XYZxyz(32.7425, 26.2364, 64.2994)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7CD2 #B1D27C
analogous
#7C86D2 #9D7CD2 #C87CD2
triadic
#9D7CD2 #D29D7C #7CD29D
tetradic
#9D7CD2 #D27C86 #B1D27C #7CD2C8
square
#9D7CD2 #D27C86 #B1D27C #7CD2C8
split-complementary
#9D7CD2 #D2C87C #86D27C
monochromatic
#5E369D #7B4EC2 #9D7CD2 #BFAAE2 #E1D7F1

Accessibility & contrast

On white

3.36
#9D7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9D7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7CD2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7CD2#FFFFFF#000000##000000
##9D7CD21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD5
Deuteranopia (green-blind)
#6C8CD0
Tritanopia (blue-blind)
#938B9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d7cd2;
/* rgb */ color: rgb(157, 124, 210);
/* oklch */ color: oklch(65.2% 0.129 300.6);
Tailwind
colors: {
  custom: {
    50: '#bba2e0',
    500: '#9d7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d7cd2;
$custom-light: #bba2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7cd2",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 263.023,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65238,
    "c": 0.1288,
    "h": 300.6
  },
  "luminance": 0.26237
}

Semantic roles & 50–950 ramp

primary
#9D7CD2
secondary
#D8E3C6
accent
#BC2984
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9D7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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