#CE7AF8#CE7AF8

#CE7AF8 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.193 H 313.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CE7AF8
RGBrgb(206, 122, 248)
HSLhsl(280, 90%, 73%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(16.9%, 50.8%, 0%, 2.7%)
CIE-LABlab(64.82, 53.52, -50.22)
CIE-LCHlch(64.82, 73.40, 316.82°)
OKLaboklab(71.9% 0.132 -0.1401)
OKLCHoklch(71.9% 0.193 313.3)
XYZxyz(49.3536, 33.8194, 92.7167)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AF8 #A4F87A
analogous
#8F7AF8 #CE7AF8 #F87AE3
triadic
#CE7AF8 #F8CE7A #7AF8CE
tetradic
#CE7AF8 #F88F7A #A4F87A #7AE3F8
square
#CE7AF8 #F88F7A #A4F87A #7AE3F8
split-complementary
#CE7AF8 #E3F87A #7AF88F
monochromatic
#A10CEB #B940F5 #CE7AF8 #E3B4FB #F4E2FD

Accessibility & contrast

On white

2.70
#CE7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CE7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AF8
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AF8#FFFFFF#000000##000000
##CE7AF81.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#CA8EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7af8;
/* rgb */ color: rgb(206, 122, 248);
/* oklch */ color: oklch(71.9% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#dfa3fb',
    500: '#ce7af8',
    950: '#000000',
  },
}
SCSS
$custom: #ce7af8;
$custom-light: #dfa3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7af8",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.19253,
    "h": 313.3
  },
  "luminance": 0.33818
}

Semantic roles & 50–950 ramp

primary
#CE7AF8
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CE7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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