#CE8BF8#CE8BF8

#CE8BF8 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.165 H 311.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CE8BF8
RGBrgb(206, 139, 248)
HSLhsl(277, 89%, 76%)
HSVhsv(277, 44%, 97%)
CMYKcmyk(16.9%, 44%, 0%, 2.7%)
CIE-LABlab(68.29, 44.64, -44.76)
CIE-LCHlch(68.29, 63.21, 314.93°)
OKLaboklab(74.49% 0.1091 -0.1243)
OKLCHoklch(74.49% 0.165 311.3)
XYZxyz(51.6265, 38.3653, 93.4743)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8BF8 #B5F88B
analogous
#978BF8 #CE8BF8 #F88BEB
triadic
#CE8BF8 #F8CE8B #8BF8CE
tetradic
#CE8BF8 #F8978B #B5F88B #8BEBF8
square
#CE8BF8 #F8978B #B5F88B #8BEBF8
split-complementary
#CE8BF8 #EBF88B #8BF897
monochromatic
#9D18F1 #B651F5 #CE8BF8 #E6C5FB #F3E2FD

Accessibility & contrast

On white

2.42
#CE8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CE8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8BF8
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8BF8#FFFFFF#000000##000000
##CE8BF81.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#C99CB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ce8bf8;
/* rgb */ color: rgb(206, 139, 248);
/* oklch */ color: oklch(74.5% 0.165 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfaefb',
    500: '#ce8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ce8bf8;
$custom-light: #dfaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8bf8",
  "rgb": {
    "r": 206,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 276.881,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74487,
    "c": 0.16543,
    "h": 311.3
  },
  "luminance": 0.38364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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