#9D7CF2#9D7CF2

#9D7CF2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.171 H 294.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D7CF2
RGBrgb(157, 124, 242)
HSLhsl(257, 82%, 72%)
HSVhsv(257, 49%, 95%)
CMYKcmyk(35.1%, 48.8%, 0%, 5.1%)
CIE-LABlab(59.88, 38.45, -55.06)
CIE-LCHlch(59.88, 67.16, 304.92°)
OKLaboklab(66.99% 0.0699 -0.1555)
OKLCHoklch(66.99% 0.171 294.2)
XYZxyz(37.1352, 27.9935, 87.4340)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7CF2 #D1F27C
analogous
#7C96F2 #9D7CF2 #D87CF2
triadic
#9D7CF2 #F29D7C #7CF29D
tetradic
#9D7CF2 #F27C96 #D1F27C #7CF2D8
square
#9D7CF2 #F27C96 #D1F27C #7CF2D8
split-complementary
#9D7CF2 #F2D87C #96F27C
monochromatic
#4E16DE #7344EC #9D7CF2 #C7B4F8 #EAE3FC

Accessibility & contrast

On white

3.18
#9D7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9D7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7CF2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7CF2#FFFFFF#000000##000000
##9D7CF21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#8993AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d7cf2;
/* rgb */ color: rgb(157, 124, 242);
/* oklch */ color: oklch(67.0% 0.171 294.2);
Tailwind
colors: {
  custom: {
    50: '#bda2f7',
    500: '#9d7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #9d7cf2;
$custom-light: #bda2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7cf2",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 256.78,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.1705,
    "h": 294.2
  },
  "luminance": 0.27994
}

Semantic roles & 50–950 ramp

primary
#9D7CF2
secondary
#EBF4D6
accent
#DE07A2
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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