#CE7FEF#CE7FEF

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

Color values

HEX#CE7FEF
RGBrgb(206, 127, 239)
HSLhsl(282, 78%, 72%)
HSVhsv(282, 47%, 94%)
CMYKcmyk(13.8%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.38, 49.09, -44.38)
CIE-LCHlch(65.38, 66.17, 317.88°)
OKLaboklab(72.18% 0.1243 -0.1232)
OKLCHoklch(72.18% 0.175 315.2)
XYZxyz(48.6205, 34.5339, 85.7491)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7FEF #A0EF7F
analogous
#967FEF #CE7FEF #EF7FD8
triadic
#CE7FEF #EFCE7F #7FEFCE
tetradic
#CE7FEF #EF967F #A0EF7F #7FD8EF
square
#CE7FEF #EF967F #A0EF7F #7FD8EF
split-complementary
#CE7FEF #D8EF7F #7FEF96
monochromatic
#A11BD9 #B949E8 #CE7FEF #E3B5F6 #F5E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE7FEF#FFFFFF#000000##000000
##CE7FEF1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#CC8FAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7fef;
/* rgb */ color: rgb(206, 127, 239);
/* oklch */ color: oklch(72.2% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#dfa6f4',
    500: '#ce7fef',
    950: '#000000',
  },
}
SCSS
$custom: #ce7fef;
$custom-light: #dfa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7fef",
  "rgb": {
    "r": 206,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 282.321,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72183,
    "c": 0.17498,
    "h": 315.2
  },
  "luminance": 0.34533
}

Semantic roles & 50–950 ramp

primary
#CE7FEF
secondary
#DFF3D7
accent
#DA0B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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