#CE9BFB#CE9BFB

#CE9BFB is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.3% C 0.143 H 307.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CE9BFB
RGBrgb(206, 155, 251)
HSLhsl(272, 92%, 80%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(17.9%, 38.2%, 0%, 1.6%)
CIE-LABlab(71.91, 36.67, -40.72)
CIE-LCHlch(71.91, 54.80, 312.00°)
OKLaboklab(77.26% 0.0874 -0.1128)
OKLCHoklch(77.26% 0.143 307.8)
XYZxyz(54.5842, 43.5301, 96.7747)
Luminance0.4353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9BFB #C8FB9B
analogous
#9E9BFB #CE9BFB #FB9BF8
triadic
#CE9BFB #FBCE9B #9BFBCE
tetradic
#CE9BFB #FB9E9B #C8FB9B #9BF8FB
square
#CE9BFB #FB9E9B #C8FB9B #9BF8FB
split-complementary
#CE9BFB #F8FB9B #9BFB9E
monochromatic
#9425F6 #B160F9 #CE9BFB #EBD6FD #F1E2FE

Accessibility & contrast

On white

2.16
#CE9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CE9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9BFB
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9BFB#FFFFFF#000000##000000
##CE9BFB1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#C8A9BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ce9bfb;
/* rgb */ color: rgb(206, 155, 251);
/* oklch */ color: oklch(77.3% 0.143 307.8);
Tailwind
colors: {
  custom: {
    50: '#deb9fd',
    500: '#ce9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce9bfb;
$custom-light: #deb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9bfb",
  "rgb": {
    "r": 206,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 271.875,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77258,
    "c": 0.1427,
    "h": 307.8
  },
  "luminance": 0.4353
}

Semantic roles & 50–950 ramp

primary
#CE9BFB
secondary
#E4F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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