#CE82FE#CE82FE

#CE82FE is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.4% C 0.187 H 310.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CE82FE
RGBrgb(206, 130, 254)
HSLhsl(277, 98%, 75%)
HSVhsv(277, 49%, 100%)
CMYKcmyk(18.9%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.71, 50.66, -50.53)
CIE-LCHlch(66.71, 71.56, 315.08°)
OKLaboklab(73.4% 0.1221 -0.141)
OKLCHoklch(73.4% 0.187 310.9)
XYZxyz(51.3224, 36.2438, 98.0388)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE82FE #B2FE82
analogous
#9082FE #CE82FE #FE82F0
triadic
#CE82FE #FECE82 #82FECE
tetradic
#CE82FE #FE9082 #B2FE82 #82F0FE
square
#CE82FE #FE9082 #B2FE82 #82F0FE
split-complementary
#CE82FE #F0FE82 #82FE90
monochromatic
#9E09FD #B645FE #CE82FE #E6BFFE #F3E1FF

Accessibility & contrast

On white

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

On black

8.25
#CE82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE82FE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE82FE#FFFFFF#000000##000000
##CE82FE1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#C896B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ce82fe;
/* rgb */ color: rgb(206, 130, 254);
/* oklch */ color: oklch(73.4% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfa8ff',
    500: '#ce82fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce82fe;
$custom-light: #dfa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce82fe",
  "rgb": {
    "r": 206,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 276.774,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73398,
    "c": 0.18654,
    "h": 310.9
  },
  "luminance": 0.36243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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