#9D7BEE#9D7BEE

#9D7BEE is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.167 H 295.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D7BEE
RGBrgb(157, 123, 238)
HSLhsl(258, 77%, 71%)
HSVhsv(258, 48%, 93%)
CMYKcmyk(34%, 48.3%, 0%, 6.7%)
CIE-LABlab(59.44, 37.98, -53.55)
CIE-LCHlch(59.44, 65.65, 305.34°)
OKLaboklab(66.58% 0.0708 -0.1511)
OKLCHoklch(66.58% 0.167 295.1)
XYZxyz(36.4163, 27.5064, 84.2630)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7BEE #CCEE7B
analogous
#7B92EE #9D7BEE #D67BEE
triadic
#9D7BEE #EE9D7B #7BEE9D
tetradic
#9D7BEE #EE7B92 #CCEE7B #7BEED6
square
#9D7BEE #EE7B92 #CCEE7B #7BEED6
split-complementary
#9D7BEE #EED67B #92EE7B
monochromatic
#521BD3 #7545E7 #9D7BEE #C5B1F5 #EBE4FC

Accessibility & contrast

On white

3.23
#9D7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9D7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7BEE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7BEE#FFFFFF#000000##000000
##9D7BEE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#8A91A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d7bee;
/* rgb */ color: rgb(157, 123, 238);
/* oklch */ color: oklch(66.6% 0.167 295.1);
Tailwind
colors: {
  custom: {
    50: '#bda2f4',
    500: '#9d7bee',
    950: '#000000',
  },
}
SCSS
$custom: #9d7bee;
$custom-light: #bda2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7bee",
  "rgb": {
    "r": 157,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 257.739,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.16685,
    "h": 295.1
  },
  "luminance": 0.27507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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