#CE7AEC#CE7AEC

#CE7AEC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.180 H 316.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CE7AEC
RGBrgb(206, 122, 236)
HSLhsl(284, 75%, 70%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(12.7%, 48.3%, 0%, 7.5%)
CIE-LABlab(64.24, 51.06, -44.52)
CIE-LCHlch(64.24, 67.74, 318.92°)
OKLaboklab(71.29% 0.1307 -0.1236)
OKLCHoklch(71.29% 0.18 316.6)
XYZxyz(47.5512, 33.0985, 83.2244)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AEC #98EC7A
analogous
#957AEC #CE7AEC #EC7AD1
triadic
#CE7AEC #ECCE7A #7AECCE
tetradic
#CE7AEC #EC957A #98EC7A #7AD1EC
square
#CE7AEC #EC957A #98EC7A #7AD1EC
split-complementary
#CE7AEC #D1EC7A #7AEC95
monochromatic
#A01DCE #BA44E4 #CE7AEC #E2B0F4 #F5E4FB

Accessibility & contrast

On white

2.76
#CE7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CE7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AEC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AEC#FFFFFF#000000##000000
##CE7AEC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#CD8BA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce7aec;
/* rgb */ color: rgb(206, 122, 236);
/* oklch */ color: oklch(71.3% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#dfa3f2',
    500: '#ce7aec',
    950: '#000000',
  },
}
SCSS
$custom: #ce7aec;
$custom-light: #dfa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7aec",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 284.211,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.17986,
    "h": 316.6
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

primary
#CE7AEC
secondary
#D9F1D1
accent
#D70E43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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