#CE7FFB#CE7FFB

#CE7FFB is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.188 H 312.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CE7FFB
RGBrgb(206, 127, 251)
HSLhsl(278, 94%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(17.9%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.96, 51.58, -50.07)
CIE-LCHlch(65.96, 71.89, 315.85°)
OKLaboklab(72.79% 0.1257 -0.1397)
OKLCHoklch(72.79% 0.188 312)
XYZxyz(50.4525, 35.2667, 95.3975)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7FFB #ACFB7F
analogous
#907FFB #CE7FFB #FB7FEA
triadic
#CE7FFB #FBCE7F #7FFBCE
tetradic
#CE7FFB #FB907F #ACFB7F #7FEAFB
square
#CE7FFB #FB907F #ACFB7F #7FEAFB
split-complementary
#CE7FFB #EAFB7F #7FFB90
monochromatic
#A108F7 #B744F9 #CE7FFB #E5BAFD #F4E1FE

Accessibility & contrast

On white

2.61
#CE7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CE7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7FFB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7FFB#FFFFFF#000000##000000
##CE7FFB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce7ffb;
/* rgb */ color: rgb(206, 127, 251);
/* oklch */ color: oklch(72.8% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#dfa6fd',
    500: '#ce7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ffb;
$custom-light: #dfa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ffb",
  "rgb": {
    "r": 206,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 278.226,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.18796,
    "h": 312
  },
  "luminance": 0.35266
}

Semantic roles & 50–950 ramp

primary
#CE7FFB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CE7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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