#CF82EC#CF82EC

#CF82EC is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.6% C 0.167 H 316.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CF82EC
RGBrgb(207, 130, 236)
HSLhsl(284, 74%, 72%)
HSVhsv(284, 45%, 93%)
CMYKcmyk(12.3%, 44.9%, 0%, 7.5%)
CIE-LABlab(65.97, 47.19, -41.79)
CIE-LCHlch(65.97, 63.03, 318.47°)
OKLaboklab(72.6% 0.1208 -0.1157)
OKLCHoklch(72.6% 0.167 316.2)
XYZxyz(48.8528, 35.2882, 83.5785)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF82EC #9FEC82
analogous
#9A82EC #CF82EC #EC82D4
triadic
#CF82EC #ECCF82 #82ECCF
tetradic
#CF82EC #EC9A82 #9FEC82 #82D4EC
square
#CF82EC #EC9A82 #9FEC82 #82D4EC
split-complementary
#CF82EC #D4EC82 #82EC9A
monochromatic
#A220D3 #BB4DE4 #CF82EC #E3B7F4 #F5E4FB

Accessibility & contrast

On white

2.61
#CF82EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CF82EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF82EC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF82EC#FFFFFF#000000##000000
##CF82EC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#CE91AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf82ec;
/* rgb */ color: rgb(207, 130, 236);
/* oklch */ color: oklch(72.6% 0.167 316.2);
Tailwind
colors: {
  custom: {
    50: '#dfa8f2',
    500: '#cf82ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf82ec;
$custom-light: #dfa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf82ec",
  "rgb": {
    "r": 207,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 283.585,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.16731,
    "h": 316.2
  },
  "luminance": 0.35287
}

Semantic roles & 50–950 ramp

primary
#CF82EC
secondary
#DFF2D7
accent
#D61046
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF82EC

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

Preview Lab → · Contrast checker → · Palette generator →

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