#CE7AEF#CE7AEF

#CE7AEF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.183 H 315.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CE7AEF
RGBrgb(206, 122, 239)
HSLhsl(283, 79%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(13.8%, 49%, 0%, 6.3%)
CIE-LABlab(64.38, 51.67, -45.95)
CIE-LCHlch(64.38, 69.15, 318.35°)
OKLaboklab(71.44% 0.1311 -0.1277)
OKLCHoklch(71.44% 0.183 315.7)
XYZxyz(47.9907, 33.2743, 85.5392)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AEF #9BEF7A
analogous
#937AEF #CE7AEF #EF7AD5
triadic
#CE7AEF #EFCE7A #7AEFCE
tetradic
#CE7AEF #EF937A #9BEF7A #7AD5EF
square
#CE7AEF #EF937A #9BEF7A #7AD5EF
split-complementary
#CE7AEF #D5EF7A #7AEF93
monochromatic
#A01AD5 #BA43E8 #CE7AEF #E2B1F6 #F5E4FC

Accessibility & contrast

On white

2.74
#CE7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CE7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AEF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AEF#FFFFFF#000000##000000
##CE7AEF1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#CC8BAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce7aef;
/* rgb */ color: rgb(206, 122, 239);
/* oklch */ color: oklch(71.4% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#dfa3f4',
    500: '#ce7aef',
    950: '#000000',
  },
}
SCSS
$custom: #ce7aef;
$custom-light: #dfa3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7aef",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 283.077,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.183,
    "h": 315.7
  },
  "luminance": 0.33273
}

Semantic roles & 50–950 ramp

primary
#CE7AEF
secondary
#DCF2D3
accent
#DB0B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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