#CE7FE7#CE7FE7

#CE7FE7 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.166 H 317.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CE7FE7
RGBrgb(206, 127, 231)
HSLhsl(286, 68%, 70%)
HSVhsv(286, 45%, 91%)
CMYKcmyk(10.8%, 45%, 0%, 9.4%)
CIE-LABlab(65.02, 47.47, -40.53)
CIE-LCHlch(65.02, 62.41, 319.51°)
OKLaboklab(71.79% 0.1231 -0.1121)
OKLCHoklch(71.79% 0.166 317.7)
XYZxyz(47.4648, 34.0716, 79.6620)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7FE7 #98E77F
analogous
#9A7FE7 #CE7FE7 #E77FCC
triadic
#CE7FE7 #E7CE7F #7FE7CE
tetradic
#CE7FE7 #E79A7F #98E77F #7FCCE7
square
#CE7FE7 #E79A7F #98E77F #7FCCE7
split-complementary
#CE7FE7 #CCE77F #7FE79A
monochromatic
#A025C6 #BA4BDD #CE7FE7 #E2B3F1 #F5E5FA

Accessibility & contrast

On white

2.69
#CE7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CE7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7FE7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7FE7#FFFFFF#000000##000000
##CE7FE71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EB
Deuteranopia (green-blind)
#83A0E4
Tritanopia (blue-blind)
#CE8DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7fe7;
/* rgb */ color: rgb(206, 127, 231);
/* oklch */ color: oklch(71.8% 0.166 317.7);
Tailwind
colors: {
  custom: {
    50: '#dfa6ef',
    500: '#ce7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ce7fe7;
$custom-light: #dfa6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7fe7",
  "rgb": {
    "r": 206,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 285.577,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.16645,
    "h": 317.7
  },
  "luminance": 0.3407
}

Semantic roles & 50–950 ramp

primary
#CE7FE7
secondary
#D9EFD2
accent
#D01542
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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