#CE81FF#CE81FF

#CE81FF is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.3% C 0.189 H 310.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CE81FF
RGBrgb(206, 129, 255)
HSLhsl(277, 100%, 75%)
HSVhsv(277, 49%, 100%)
CMYKcmyk(19.2%, 49.4%, 0%, 0%)
CIE-LABlab(66.55, 51.40, -51.32)
CIE-LCHlch(66.55, 72.63, 315.04°)
OKLaboklab(73.3% 0.1235 -0.1433)
OKLCHoklch(73.3% 0.189 310.8)
XYZxyz(51.3506, 36.0433, 98.8403)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81FF #B2FF81
analogous
#8F81FF #CE81FF #FF81F1
triadic
#CE81FF #FFCE81 #81FFCE
tetradic
#CE81FF #FF8F81 #B2FF81 #81F1FF
square
#CE81FF #FF8F81 #B2FF81 #81F1FF
split-complementary
#CE81FF #F1FF81 #81FF8F
monochromatic
#9E07FF #B644FF #CE81FF #E6BEFF #F3E0FF

Accessibility & contrast

On white

2.56
#CE81FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CE81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81FF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81FF#FFFFFF#000000##000000
##CE81FF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#78A3FC
Tritanopia (blue-blind)
#C896B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ce81ff;
/* rgb */ color: rgb(206, 129, 255);
/* oklch */ color: oklch(73.3% 0.189 310.8);
Tailwind
colors: {
  custom: {
    50: '#dfa8ff',
    500: '#ce81ff',
    950: '#000000',
  },
}
SCSS
$custom: #ce81ff;
$custom-light: #dfa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81ff",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 276.667,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73301,
    "c": 0.18921,
    "h": 310.8
  },
  "luminance": 0.36042
}

Semantic roles & 50–950 ramp

primary
#CE81FF
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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