#CE8FF2#CE8FF2

#CE8FF2 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.8% C 0.152 H 312.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CE8FF2
RGBrgb(206, 143, 242)
HSLhsl(278, 79%, 75%)
HSVhsv(278, 41%, 95%)
CMYKcmyk(14.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(68.88, 41.23, -40.55)
CIE-LCHlch(68.88, 57.83, 315.48°)
OKLaboklab(74.84% 0.1025 -0.1122)
OKLCHoklch(74.84% 0.152 312.4)
XYZxyz(51.3003, 39.1785, 88.8469)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8FF2 #B3F28F
analogous
#9C8FF2 #CE8FF2 #F28FE4
triadic
#CE8FF2 #F2CE8F #8FF2CE
tetradic
#CE8FF2 #F29C8F #B3F28F #8FE4F2
square
#CE8FF2 #F29C8F #B3F28F #8FE4F2
split-complementary
#CE8FF2 #E4F28F #8FF29C
monochromatic
#9E21E5 #B658EC #CE8FF2 #E6C6F8 #F3E4FC

Accessibility & contrast

On white

2.38
#CE8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CE8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8FF2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8FF2#FFFFFF#000000##000000
##CE8FF21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#CB9DB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ce8ff2;
/* rgb */ color: rgb(206, 143, 242);
/* oklch */ color: oklch(74.8% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#deb1f6',
    500: '#ce8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ce8ff2;
$custom-light: #deb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8ff2",
  "rgb": {
    "r": 206,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 278.182,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.15199,
    "h": 312.4
  },
  "luminance": 0.39178
}

Semantic roles & 50–950 ramp

primary
#CE8FF2
secondary
#E2F4D7
accent
#DB0A56
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CE8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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