#CE7EF8#CE7EF8

#CE7EF8 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.186 H 312.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CE7EF8
RGBrgb(206, 126, 248)
HSLhsl(279, 90%, 73%)
HSVhsv(279, 49%, 97%)
CMYKcmyk(16.9%, 49.2%, 0%, 2.7%)
CIE-LABlab(65.61, 51.47, -48.97)
CIE-LCHlch(65.61, 71.05, 316.42°)
OKLaboklab(72.49% 0.1267 -0.1365)
OKLCHoklch(72.49% 0.186 312.9)
XYZxyz(49.8548, 34.8220, 92.8838)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EF8 #A8F87E
analogous
#917EF8 #CE7EF8 #F87EE5
triadic
#CE7EF8 #F8CE7E #7EF8CE
tetradic
#CE7EF8 #F8917E #A8F87E #7EE5F8
square
#CE7EF8 #F8917E #A8F87E #7EE5F8
split-complementary
#CE7EF8 #E5F87E #7EF891
monochromatic
#A10DEF #B844F5 #CE7EF8 #E4B8FB #F4E2FD

Accessibility & contrast

On white

2.64
#CE7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CE7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EF8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EF8#FFFFFF#000000##000000
##CE7EF81.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#CA91B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7ef8;
/* rgb */ color: rgb(206, 126, 248);
/* oklch */ color: oklch(72.5% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfa6fb',
    500: '#ce7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ef8;
$custom-light: #dfa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ef8",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 279.344,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7249,
    "c": 0.18627,
    "h": 312.9
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#CE7EF8
secondary
#E1F6D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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