#CE7AF7#CE7AF7

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

Color values

HEX#CE7AF7
RGBrgb(206, 122, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(16.6%, 50.6%, 0%, 3.1%)
CIE-LABlab(64.77, 53.31, -49.75)
CIE-LCHlch(64.77, 72.92, 316.98°)
OKLaboklab(71.85% 0.1319 -0.1388)
OKLCHoklch(71.85% 0.191 313.6)
XYZxyz(49.1988, 33.7575, 91.9018)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AF7 #A3F77A
analogous
#907AF7 #CE7AF7 #F77AE1
triadic
#CE7AF7 #F7CE7A #7AF7CE
tetradic
#CE7AF7 #F7907A #A3F77A #7AE1F7
square
#CE7AF7 #F7907A #A3F77A #7AE1F7
split-complementary
#CE7AF7 #E1F77A #7AF790
monochromatic
#A10EE9 #B940F4 #CE7AF7 #E3B4FA #F4E2FD

Accessibility & contrast

On white

2.71
#CE7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CE7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AF7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AF7#FFFFFF#000000##000000
##CE7AF71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#CA8EAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7af7;
/* rgb */ color: rgb(206, 122, 247);
/* oklch */ color: oklch(71.9% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#dfa3fa',
    500: '#ce7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ce7af7;
$custom-light: #dfa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7af7",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 280.32,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71852,
    "c": 0.19147,
    "h": 313.6
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#CE7AF7
secondary
#E0F5D6
accent
#E5004B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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