#CE6AF2#CE6AF2

#CE6AF2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.211 H 316.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CE6AF2
RGBrgb(206, 106, 242)
HSLhsl(284, 84%, 68%)
HSVhsv(284, 56%, 95%)
CMYKcmyk(14.9%, 56.2%, 0%, 5.1%)
CIE-LABlab(61.52, 60.22, -52.14)
CIE-LCHlch(61.52, 79.66, 319.11°)
OKLaboklab(69.38% 0.1522 -0.1456)
OKLCHoklch(69.38% 0.211 316.3)
XYZxyz(46.6322, 29.8423, 87.2909)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE6AF2 #8EF26A
analogous
#8A6AF2 #CE6AF2 #F26AD2
triadic
#CE6AF2 #F2CE6A #6AF2CE
tetradic
#CE6AF2 #F28A6A #8EF26A #6AD2F2
square
#CE6AF2 #F28A6A #8EF26A #6AD2F2
split-complementary
#CE6AF2 #D2F26A #6AF28A
monochromatic
#9D12CF #BB32ED #CE6AF2 #E1A2F7 #F3DBFC

Accessibility & contrast

On white

3.01
#CE6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CE6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE6AF2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE6AF2#FFFFFF#000000##000000
##CE6AF21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#CC80A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ce6af2;
/* rgb */ color: rgb(206, 106, 242);
/* oklch */ color: oklch(69.4% 0.211 316.3);
Tailwind
colors: {
  custom: {
    50: '#e099f7',
    500: '#ce6af2',
    950: '#000000',
  },
}
SCSS
$custom: #ce6af2;
$custom-light: #e099f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce6af2",
  "rgb": {
    "r": 206,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 284.118,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69378,
    "c": 0.21063,
    "h": 316.3
  },
  "luminance": 0.29841
}

Semantic roles & 50–950 ramp

primary
#CE6AF2
secondary
#D2F1C7
accent
#E0053F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CE6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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