#9D7CDB#9D7CDB

#9D7CDB is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.7% C 0.141 H 298.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9D7CDB
RGBrgb(157, 124, 219)
HSLhsl(261, 57%, 67%)
HSVhsv(261, 43%, 86%)
CMYKcmyk(28.3%, 43.4%, 0%, 14.1%)
CIE-LABlab(58.69, 32.62, -44.14)
CIE-LCHlch(58.69, 54.88, 306.46°)
OKLaboklab(65.71% 0.067 -0.1236)
OKLCHoklch(65.71% 0.141 298.5)
XYZxyz(33.8955, 26.6976, 70.3715)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7CDB #BADB7C
analogous
#7C8BDB #9D7CDB #CC7CDB
triadic
#9D7CDB #DB9D7C #7CDB9D
tetradic
#9D7CDB #DB7C8B #BADB7C #7CDBCC
square
#9D7CDB #DB7C8B #BADB7C #7CDBCC
split-complementary
#9D7CDB #DBCC7C #8BDB7C
monochromatic
#5B30AD #794CCE #9D7CDB #C1ACE8 #E5DCF5

Accessibility & contrast

On white

3.31
#9D7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9D7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7CDB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7CDB#FFFFFF#000000##000000
##9D7CDB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#918DA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d7cdb;
/* rgb */ color: rgb(157, 124, 219);
/* oklch */ color: oklch(65.7% 0.141 298.5);
Tailwind
colors: {
  custom: {
    50: '#bca2e6',
    500: '#9d7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9d7cdb;
$custom-light: #bca2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7cdb",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 260.842,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65706,
    "c": 0.14062,
    "h": 298.5
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#9D7CDB
secondary
#DEE8CA
accent
#C4218C
background
#FBFAFE
surface
#F7F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9D7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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