#9F81FA#9F81FA

#9F81FA is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.174 H 292.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F81FA
RGBrgb(159, 129, 250)
HSLhsl(255, 92%, 74%)
HSVhsv(255, 48%, 98%)
CMYKcmyk(36.4%, 48.4%, 0%, 2%)
CIE-LABlab(61.63, 38.19, -56.68)
CIE-LCHlch(61.63, 68.35, 303.97°)
OKLaboklab(68.48% 0.0668 -0.1602)
OKLCHoklch(68.48% 0.174 292.6)
XYZxyz(39.3991, 29.9727, 94.1334)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F81FA #DCFA81
analogous
#81A0FA #9F81FA #DC81FA
triadic
#9F81FA #FA9F81 #81FA9F
tetradic
#9F81FA #FA81A0 #DCFA81 #81FADC
square
#9F81FA #FA81A0 #DCFA81 #81FADC
split-complementary
#9F81FA #FADC81 #A0FA81
monochromatic
#450BF5 #7246F8 #9F81FA #CCBCFC #E9E2FE

Accessibility & contrast

On white

3.00
#9F81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#9F81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F81FA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F81FA#FFFFFF#000000##000000
##9F81FA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FE
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#8899B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f81fa;
/* rgb */ color: rgb(159, 129, 250);
/* oklch */ color: oklch(68.5% 0.174 292.6);
Tailwind
colors: {
  custom: {
    50: '#bfa6fc',
    500: '#9f81fa',
    950: '#000000',
  },
}
SCSS
$custom: #9f81fa;
$custom-light: #bfa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f81fa",
  "rgb": {
    "r": 159,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 254.876,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.17357,
    "h": 292.6
  },
  "luminance": 0.29974
}

Semantic roles & 50–950 ramp

primary
#9F81FA
secondary
#EEF6D5
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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