#CE7EF2#CE7EF2

#CE7EF2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.180 H 314.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CE7EF2
RGBrgb(206, 126, 242)
HSLhsl(281, 82%, 72%)
HSVhsv(281, 48%, 95%)
CMYKcmyk(14.9%, 47.9%, 0%, 5.1%)
CIE-LABlab(65.32, 50.22, -46.13)
CIE-LCHlch(65.32, 68.19, 317.43°)
OKLaboklab(72.18% 0.126 -0.1282)
OKLCHoklch(72.18% 0.18 314.5)
XYZxyz(48.9389, 34.4556, 88.0598)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EF2 #A2F27E
analogous
#947EF2 #CE7EF2 #F27EDC
triadic
#CE7EF2 #F2CE7E #7EF2CE
tetradic
#CE7EF2 #F2947E #A2F27E #7EDCF2
square
#CE7EF2 #F2947E #A2F27E #7EDCF2
split-complementary
#CE7EF2 #DCF27E #7EF294
monochromatic
#A116DF #B946EC #CE7EF2 #E3B6F8 #F4E3FC

Accessibility & contrast

On white

2.66
#CE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CE7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EF2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EF2#FFFFFF#000000##000000
##CE7EF21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#CB90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7ef2;
/* rgb */ color: rgb(206, 126, 242);
/* oklch */ color: oklch(72.2% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5f7',
    500: '#ce7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ef2;
$custom-light: #dfa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ef2",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 281.379,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72183,
    "c": 0.17981,
    "h": 314.5
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#CE7EF2
secondary
#E0F4D7
accent
#DE074A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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