#CE7BFC#CE7BFC

#CE7BFC is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.3% C 0.195 H 312.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CE7BFC
RGBrgb(206, 123, 252)
HSLhsl(279, 96%, 74%)
HSVhsv(279, 51%, 99%)
CMYKcmyk(18.3%, 51.2%, 0%, 1.2%)
CIE-LABlab(65.21, 53.85, -51.80)
CIE-LCHlch(65.21, 74.72, 316.11°)
OKLaboklab(72.26% 0.1311 -0.1447)
OKLCHoklch(72.26% 0.195 312.2)
XYZxyz(50.1042, 34.3171, 96.0610)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BFC #A9FC7B
analogous
#8D7BFC #CE7BFC #FC7BE9
triadic
#CE7BFC #FCCE7B #7BFCCE
tetradic
#CE7BFC #FC8D7B #A9FC7B #7BE9FC
square
#CE7BFC #FC8D7B #A9FC7B #7BE9FC
split-complementary
#CE7BFC #E9FC7B #7BFC8D
monochromatic
#A106F7 #B83FFB #CE7BFC #E4B7FD #F4E1FE

Accessibility & contrast

On white

2.67
#CE7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CE7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BFC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BFC#FFFFFF#000000##000000
##CE7BFC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#C990B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7bfc;
/* rgb */ color: rgb(206, 123, 252);
/* oklch */ color: oklch(72.3% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#dfa4fe',
    500: '#ce7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bfc;
$custom-light: #dfa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bfc",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 278.605,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72261,
    "c": 0.19526,
    "h": 312.2
  },
  "luminance": 0.34316
}

Semantic roles & 50–950 ramp

primary
#CE7BFC
secondary
#E1F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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