#CE82FC#CE82FC

#CE82FC is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.3% C 0.184 H 311.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CE82FC
RGBrgb(206, 130, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 48%, 99%)
CMYKcmyk(18.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.61, 50.24, -49.59)
CIE-LCHlch(66.61, 70.59, 315.37°)
OKLaboklab(73.3% 0.1219 -0.1383)
OKLCHoklch(73.3% 0.184 311.4)
XYZxyz(51.0038, 36.1163, 96.3609)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE82FC #B0FC82
analogous
#9182FC #CE82FC #FC82ED
triadic
#CE82FC #FCCE82 #82FCCE
tetradic
#CE82FC #FC9182 #B0FC82 #82EDFC
square
#CE82FC #FC9182 #B0FC82 #82EDFC
split-complementary
#CE82FC #EDFC82 #82FC91
monochromatic
#9F0AF9 #B746FB #CE82FC #E5BEFD #F3E1FE

Accessibility & contrast

On white

2.55
#CE82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CE82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE82FC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE82FC#FFFFFF#000000##000000
##CE82FC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#C996B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ce82fc;
/* rgb */ color: rgb(206, 130, 252);
/* oklch */ color: oklch(73.3% 0.184 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfa8fe',
    500: '#ce82fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce82fc;
$custom-light: #dfa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce82fc",
  "rgb": {
    "r": 206,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 277.377,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73295,
    "c": 0.18434,
    "h": 311.4
  },
  "luminance": 0.36115
}

Semantic roles & 50–950 ramp

primary
#CE82FC
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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