#9F81FC#9F81FC

#9F81FC is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.176 H 292.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F81FC
RGBrgb(159, 129, 252)
HSLhsl(255, 95%, 75%)
HSVhsv(255, 49%, 99%)
CMYKcmyk(36.9%, 48.8%, 0%, 1.2%)
CIE-LABlab(61.74, 38.72, -57.61)
CIE-LCHlch(61.74, 69.41, 303.90°)
OKLaboklab(68.59% 0.067 -0.1629)
OKLCHoklch(68.59% 0.176 292.4)
XYZxyz(39.7144, 30.0988, 95.7938)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F81FC #DEFC81
analogous
#81A1FC #9F81FC #DC81FC
triadic
#9F81FC #FC9F81 #81FC9F
tetradic
#9F81FC #FC81A1 #DEFC81 #81FCDC
square
#9F81FC #FC81A1 #DEFC81 #81FCDC
split-complementary
#9F81FC #FCDC81 #A1FC81
monochromatic
#4409F9 #7145FB #9F81FC #CDBDFD #E8E1FE

Accessibility & contrast

On white

2.99
#9F81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9F81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F81FC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F81FC#FFFFFF#000000##000000
##9F81FC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#8899B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f81fc;
/* rgb */ color: rgb(159, 129, 252);
/* oklch */ color: oklch(68.6% 0.176 292.4);
Tailwind
colors: {
  custom: {
    50: '#bfa6fe',
    500: '#9f81fc',
    950: '#000000',
  },
}
SCSS
$custom: #9f81fc;
$custom-light: #bfa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f81fc",
  "rgb": {
    "r": 159,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 254.634,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.17614,
    "h": 292.4
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#9F81FC
secondary
#EEF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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