#CE7EFD#CE7EFD

#CE7EFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.192 H 311.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CE7EFD
RGBrgb(206, 126, 253)
HSLhsl(278, 97%, 74%)
HSVhsv(278, 50%, 99%)
CMYKcmyk(18.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.85, 52.52, -51.33)
CIE-LCHlch(65.85, 73.44, 315.66°)
OKLaboklab(72.75% 0.1273 -0.1433)
OKLCHoklch(72.75% 0.192 311.6)
XYZxyz(50.6409, 35.1364, 97.0238)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EFD #ADFD7E
analogous
#8F7EFD #CE7EFD #FD7EED
triadic
#CE7EFD #FDCE7E #7EFDCE
tetradic
#CE7EFD #FD8F7E #ADFD7E #7EEDFD
square
#CE7EFD #FD8F7E #ADFD7E #7EEDFD
split-complementary
#CE7EFD #EDFD7E #7EFD8F
monochromatic
#A005FB #B742FC #CE7EFD #E5BAFE #F4E1FF

Accessibility & contrast

On white

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

On black

8.03
#CE7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EFD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EFD#FFFFFF#000000##000000
##CE7EFD1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#C993B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce7efd;
/* rgb */ color: rgb(206, 126, 253);
/* oklch */ color: oklch(72.8% 0.192 311.6);
Tailwind
colors: {
  custom: {
    50: '#dfa6fe',
    500: '#ce7efd',
    950: '#000000',
  },
}
SCSS
$custom: #ce7efd;
$custom-light: #dfa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7efd",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 277.795,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.19169,
    "h": 311.6
  },
  "luminance": 0.35135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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