#CE81F9#CE81F9

#CE81F9 is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.0% C 0.183 H 312.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CE81F9
RGBrgb(206, 129, 249)
HSLhsl(279, 91%, 74%)
HSVhsv(279, 48%, 98%)
CMYKcmyk(17.3%, 48.2%, 0%, 2.4%)
CIE-LABlab(66.26, 50.12, -48.49)
CIE-LCHlch(66.26, 69.74, 315.95°)
OKLaboklab(72.99% 0.1228 -0.1351)
OKLCHoklch(72.99% 0.183 312.3)
XYZxyz(50.3998, 35.6630, 93.8328)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81F9 #ACF981
analogous
#9281F9 #CE81F9 #F981E8
triadic
#CE81F9 #F9CE81 #81F9CE
tetradic
#CE81F9 #F99281 #ACF981 #81E8F9
square
#CE81F9 #F99281 #ACF981 #81E8F9
split-complementary
#CE81F9 #E8F981 #81F992
monochromatic
#A10CF3 #B747F6 #CE81F9 #E5BBFC #F4E2FE

Accessibility & contrast

On white

2.58
#CE81F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CE81F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81F9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81F9#FFFFFF#000000##000000
##CE81F91.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#7BA3F6
Tritanopia (blue-blind)
#CA94B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce81f9;
/* rgb */ color: rgb(206, 129, 249);
/* oklch */ color: oklch(73.0% 0.183 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfa7fc',
    500: '#ce81f9',
    950: '#000000',
  },
}
SCSS
$custom: #ce81f9;
$custom-light: #dfa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81f9",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 278.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7299,
    "c": 0.18262,
    "h": 312.3
  },
  "luminance": 0.35662
}

Semantic roles & 50–950 ramp

primary
#CE81F9
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE81F9

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

Preview Lab → · Contrast checker → · Palette generator →

#CE81F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva