#9E7DD2#9E7DD2

#9E7DD2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.5% C 0.127 H 300.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E7DD2
RGBrgb(158, 125, 210)
HSLhsl(263, 49%, 66%)
HSVhsv(263, 40%, 82%)
CMYKcmyk(24.8%, 40.5%, 0%, 17.6%)
CIE-LABlab(58.59, 30.13, -39.23)
CIE-LCHlch(58.59, 49.47, 307.53°)
OKLaboklab(65.51% 0.0653 -0.1094)
OKLCHoklch(65.51% 0.127 300.8)
XYZxyz(33.0644, 26.5894, 64.3506)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7DD2 #B1D27D
analogous
#7D86D2 #9E7DD2 #C87DD2
triadic
#9E7DD2 #D29E7D #7DD29E
tetradic
#9E7DD2 #D27D86 #B1D27D #7DD2C8
square
#9E7DD2 #D27D86 #B1D27D #7DD2C8
split-complementary
#9E7DD2 #D2C87D #86D27D
monochromatic
#5F379E #7C50C2 #9E7DD2 #C0AAE2 #E2D8F1

Accessibility & contrast

On white

3.32
#9E7DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9E7DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7DD2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7DD2#FFFFFF#000000##000000
##9E7DD21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD5
Deuteranopia (green-blind)
#6E8CD0
Tritanopia (blue-blind)
#948B9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e7dd2;
/* rgb */ color: rgb(158, 125, 210);
/* oklch */ color: oklch(65.5% 0.127 300.8);
Tailwind
colors: {
  custom: {
    50: '#bca3e0',
    500: '#9e7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e7dd2;
$custom-light: #bca3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7dd2",
  "rgb": {
    "r": 158,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 263.294,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.12737,
    "h": 300.8
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#9E7DD2
secondary
#D9E4C7
accent
#BC2A83
background
#FBFAFD
surface
#F7F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9E7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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