#CE81F7#CE81F7

#CE81F7 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.9% C 0.180 H 312.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CE81F7
RGBrgb(206, 129, 247)
HSLhsl(279, 88%, 74%)
HSVhsv(279, 48%, 97%)
CMYKcmyk(16.6%, 47.8%, 0%, 3.1%)
CIE-LABlab(66.17, 49.70, -47.55)
CIE-LCHlch(66.17, 68.78, 316.27°)
OKLaboklab(72.89% 0.1226 -0.1324)
OKLCHoklch(72.89% 0.18 312.8)
XYZxyz(50.0895, 35.5389, 92.1987)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE81F7 #AAF781
analogous
#9381F7 #CE81F7 #F781E5
triadic
#CE81F7 #F7CE81 #81F7CE
tetradic
#CE81F7 #F79381 #AAF781 #81E5F7
square
#CE81F7 #F79381 #AAF781 #81E5F7
split-complementary
#CE81F7 #E5F781 #81F793
monochromatic
#A10FEE #B847F3 #CE81F7 #E4BBFB #F4E2FD

Accessibility & contrast

On white

2.59
#CE81F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CE81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE81F7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE81F7#FFFFFF#000000##000000
##CE81F71.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#CA93B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ce81f7;
/* rgb */ color: rgb(206, 129, 247);
/* oklch */ color: oklch(72.9% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfa7fa',
    500: '#ce81f7',
    950: '#000000',
  },
}
SCSS
$custom: #ce81f7;
$custom-light: #dfa7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce81f7",
  "rgb": {
    "r": 206,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 279.153,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72887,
    "c": 0.18043,
    "h": 312.8
  },
  "luminance": 0.35538
}

Semantic roles & 50–950 ramp

primary
#CE81F7
secondary
#E1F5D6
accent
#E50150
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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