#9D81DF#9D81DF

#9D81DF is a light, vivid violet. Relative luminance 0.282; OKLCH L 66.8% C 0.138 H 296.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D81DF
RGBrgb(157, 129, 223)
HSLhsl(258, 59%, 69%)
HSVhsv(258, 42%, 87%)
CMYKcmyk(29.6%, 42.2%, 0%, 12.5%)
CIE-LABlab(60.07, 30.76, -44.21)
CIE-LCHlch(60.07, 53.86, 304.82°)
OKLaboklab(66.81% 0.0609 -0.1238)
OKLCHoklch(66.81% 0.138 296.2)
XYZxyz(35.0709, 28.1959, 73.3924)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D81DF #C3DF81
analogous
#8194DF #9D81DF #CC81DF
triadic
#9D81DF #DF9D81 #81DF9D
tetradic
#9D81DF #DF8194 #C3DF81 #81DFCC
square
#9D81DF #DF8194 #C3DF81 #81DFCC
split-complementary
#9D81DF #DFCC81 #94DF81
monochromatic
#572FB7 #7750D3 #9D81DF #C3B2EB #E9E3F8

Accessibility & contrast

On white

3.16
#9D81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9D81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D81DF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D81DF#FFFFFF#000000##000000
##9D81DF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#6A90DD
Tritanopia (blue-blind)
#8F92A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d81df;
/* rgb */ color: rgb(157, 129, 223);
/* oklch */ color: oklch(66.8% 0.138 296.2);
Tailwind
colors: {
  custom: {
    50: '#bca6e9',
    500: '#9d81df',
    950: '#000000',
  },
}
SCSS
$custom: #9d81df;
$custom-light: #bca6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d81df",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 257.872,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.13799,
    "h": 296.2
  },
  "luminance": 0.28196
}

Semantic roles & 50–950 ramp

primary
#9D81DF
secondary
#E3ECD0
accent
#C71E95
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9D81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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