#9D81FA#9D81FA

#9D81FA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.3% C 0.173 H 291.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D81FA
RGBrgb(157, 129, 250)
HSLhsl(254, 92%, 74%)
HSVhsv(254, 48%, 98%)
CMYKcmyk(37.2%, 48.4%, 0%, 2%)
CIE-LABlab(61.46, 37.71, -56.97)
CIE-LCHlch(61.46, 68.32, 303.50°)
OKLaboklab(68.3% 0.0644 -0.1611)
OKLCHoklch(68.3% 0.174 291.8)
XYZxyz(39.0056, 29.7698, 94.1150)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D81FA #DEFA81
analogous
#81A2FA #9D81FA #D981FA
triadic
#9D81FA #FA9D81 #81FA9D
tetradic
#9D81FA #FA81A2 #DEFA81 #81FAD9
square
#9D81FA #FA81A2 #DEFA81 #81FAD9
split-complementary
#9D81FA #FAD981 #A2FA81
monochromatic
#410BF5 #6F46F8 #9D81FA #CBBCFC #E8E2FE

Accessibility & contrast

On white

3.02
#9D81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9D81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D81FA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D81FA#FFFFFF#000000##000000
##9D81FA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#8599B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d81fa;
/* rgb */ color: rgb(157, 129, 250);
/* oklch */ color: oklch(68.3% 0.173 291.8);
Tailwind
colors: {
  custom: {
    50: '#bea6fc',
    500: '#9d81fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d81fa;
$custom-light: #bea6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d81fa",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 253.884,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68302,
    "c": 0.1735,
    "h": 291.8
  },
  "luminance": 0.29771
}

Semantic roles & 50–950 ramp

primary
#9D81FA
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9D81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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