#CE7CFB#CE7CFB

#CE7CFB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.193 H 312.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CE7CFB
RGBrgb(206, 124, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.9%, 50.6%, 0%, 1.6%)
CIE-LABlab(65.36, 53.13, -51.02)
CIE-LCHlch(65.36, 73.66, 316.16°)
OKLaboklab(72.35% 0.1297 -0.1424)
OKLCHoklch(72.35% 0.193 312.3)
XYZxyz(50.0708, 34.5033, 95.2702)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7CFB #A9FB7C
analogous
#8E7CFB #CE7CFB #FB7CE8
triadic
#CE7CFB #FBCE7C #7CFBCE
tetradic
#CE7CFB #FB8E7C #A9FB7C #7CE8FB
square
#CE7CFB #FB8E7C #A9FB7C #7CE8FB
split-complementary
#CE7CFB #E8FB7C #7CFB8E
monochromatic
#A107F5 #B841F9 #CE7CFB #E4B7FD #F4E1FE

Accessibility & contrast

On white

2.66
#CE7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CE7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7CFB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7CFB#FFFFFF#000000##000000
##CE7CFB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#C991B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7cfb;
/* rgb */ color: rgb(206, 124, 251);
/* oklch */ color: oklch(72.4% 0.193 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfa4fd',
    500: '#ce7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce7cfb;
$custom-light: #dfa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7cfb",
  "rgb": {
    "r": 206,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 278.74,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72353,
    "c": 0.19264,
    "h": 312.3
  },
  "luminance": 0.34502
}

Semantic roles & 50–950 ramp

primary
#CE7CFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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