#CE8CF7#CE8CF7

#CE8CF7 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.163 H 311.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CE8CF7
RGBrgb(206, 140, 247)
HSLhsl(277, 87%, 76%)
HSVhsv(277, 43%, 97%)
CMYKcmyk(16.6%, 43.3%, 0%, 3.1%)
CIE-LABlab(68.46, 43.90, -43.95)
CIE-LCHlch(68.46, 62.11, 314.97°)
OKLaboklab(74.6% 0.1076 -0.122)
OKLCHoklch(74.6% 0.163 311.4)
XYZxyz(51.6172, 38.5943, 92.7079)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8CF7 #B5F78C
analogous
#988CF7 #CE8CF7 #F78CEB
triadic
#CE8CF7 #F7CE8C #8CF7CE
tetradic
#CE8CF7 #F7988C #B5F78C #8CEBF7
square
#CE8CF7 #F7988C #B5F78C #8CEBF7
split-complementary
#CE8CF7 #EBF78C #8CF798
monochromatic
#9D1AEF #B653F3 #CE8CF7 #E6C5FB #F3E2FD

Accessibility & contrast

On white

2.41
#CE8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CE8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8CF7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8CF7#FFFFFF#000000##000000
##CE8CF71.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FB
Deuteranopia (green-blind)
#87A8F4
Tritanopia (blue-blind)
#CA9CB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ce8cf7;
/* rgb */ color: rgb(206, 140, 247);
/* oklch */ color: oklch(74.6% 0.163 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfaffa',
    500: '#ce8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ce8cf7;
$custom-light: #dfaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8cf7",
  "rgb": {
    "r": 206,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 277.009,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.16266,
    "h": 311.4
  },
  "luminance": 0.38593
}

Semantic roles & 50–950 ramp

primary
#CE8CF7
secondary
#E2F5D6
accent
#E40258
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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