#9D7BCF#9D7BCF

#9D7BCF is a light, vivid violet. Relative luminance 0.258; OKLCH L 64.9% C 0.127 H 301.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9D7BCF
RGBrgb(157, 123, 207)
HSLhsl(264, 47%, 65%)
HSVhsv(264, 41%, 81%)
CMYKcmyk(24.2%, 40.6%, 0%, 18.8%)
CIE-LABlab(57.88, 30.27, -38.66)
CIE-LCHlch(57.88, 49.10, 308.06°)
OKLaboklab(64.91% 0.0664 -0.1077)
OKLCHoklch(64.91% 0.127 301.6)
XYZxyz(32.2476, 25.8390, 62.3079)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7BCF #ADCF7B
analogous
#7B83CF #9D7BCF #C77BCF
triadic
#9D7BCF #CF9D7B #7BCF9D
tetradic
#9D7BCF #CF7B83 #ADCF7B #7BCFC7
square
#9D7BCF #CF7B83 #ADCF7B #7BCFC7
split-complementary
#9D7BCF #CFC77B #83CF7B
monochromatic
#5F3798 #7C4EBF #9D7BCF #BEA8DF #E0D5F0

Accessibility & contrast

On white

3.40
#9D7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9D7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7BCF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7BCF#FFFFFF#000000##000000
##9D7BCF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#6D8BCD
Tritanopia (blue-blind)
#94899B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d7bcf;
/* rgb */ color: rgb(157, 123, 207);
/* oklch */ color: oklch(64.9% 0.127 301.6);
Tailwind
colors: {
  custom: {
    50: '#bba1de',
    500: '#9d7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #9d7bcf;
$custom-light: #bba1de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7bcf",
  "rgb": {
    "r": 157,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 264.286,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.12651,
    "h": 301.6
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#9D7BCF
secondary
#D6E1C4
accent
#BA2C80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #9D7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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