#CE7EFB#CE7EFB

#CE7EFB is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.190 H 312.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CE7EFB
RGBrgb(206, 126, 251)
HSLhsl(278, 94%, 74%)
HSVhsv(278, 50%, 98%)
CMYKcmyk(17.9%, 49.8%, 0%, 1.6%)
CIE-LABlab(65.76, 52.10, -50.39)
CIE-LCHlch(65.76, 72.48, 315.96°)
OKLaboklab(72.65% 0.1271 -0.1406)
OKLCHoklch(72.65% 0.19 312.1)
XYZxyz(50.3240, 35.0096, 95.3546)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EFB #ABFB7E
analogous
#907EFB #CE7EFB #FB7EEA
triadic
#CE7EFB #FBCE7E #7EFBCE
tetradic
#CE7EFB #FB907E #ABFB7E #7EEAFB
square
#CE7EFB #FB907E #ABFB7E #7EEAFB
split-complementary
#CE7EFB #EAFB7E #7EFB90
monochromatic
#A108F7 #B743F9 #CE7EFB #E5B9FD #F4E1FE

Accessibility & contrast

On white

2.62
#CE7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CE7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EFB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EFB#FFFFFF#000000##000000
##CE7EFB1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C992B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce7efb;
/* rgb */ color: rgb(206, 126, 251);
/* oklch */ color: oklch(72.6% 0.190 312.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6fd',
    500: '#ce7efb',
    950: '#000000',
  },
}
SCSS
$custom: #ce7efb;
$custom-light: #dfa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7efb",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 278.4,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72646,
    "c": 0.18952,
    "h": 312.1
  },
  "luminance": 0.35009
}

Semantic roles & 50–950 ramp

primary
#CE7EFB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CE7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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