#CE7DF8#CE7DF8

#CE7DF8 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.188 H 313.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CE7DF8
RGBrgb(206, 125, 248)
HSLhsl(280, 90%, 73%)
HSVhsv(280, 50%, 97%)
CMYKcmyk(16.9%, 49.6%, 0%, 2.7%)
CIE-LABlab(65.41, 51.99, -49.29)
CIE-LCHlch(65.41, 71.64, 316.53°)
OKLaboklab(72.34% 0.1281 -0.1374)
OKLCHoklch(72.34% 0.188 313)
XYZxyz(49.7276, 34.5675, 92.8414)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DF8 #A7F87D
analogous
#907DF8 #CE7DF8 #F87DE5
triadic
#CE7DF8 #F8CE7D #7DF8CE
tetradic
#CE7DF8 #F8907D #A7F87D #7DE5F8
square
#CE7DF8 #F8907D #A7F87D #7DE5F8
split-complementary
#CE7DF8 #E5F87D #7DF890
monochromatic
#A10DEE #B843F5 #CE7DF8 #E4B7FB #F4E2FD

Accessibility & contrast

On white

2.65
#CE7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CE7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DF8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DF8#FFFFFF#000000##000000
##CE7DF81.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#78A1F5
Tritanopia (blue-blind)
#CA91AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7df8;
/* rgb */ color: rgb(206, 125, 248);
/* oklch */ color: oklch(72.3% 0.188 313.0);
Tailwind
colors: {
  custom: {
    50: '#dfa5fb',
    500: '#ce7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ce7df8;
$custom-light: #dfa5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7df8",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 279.512,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.18785,
    "h": 313
  },
  "luminance": 0.34566
}

Semantic roles & 50–950 ramp

primary
#CE7DF8
secondary
#E0F6D5
accent
#E6004E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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