#CEA7FF#CEA7FF

#CEA7FF is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.5% C 0.128 H 304.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CEA7FF
RGBrgb(206, 167, 255)
HSLhsl(267, 100%, 83%)
HSVhsv(267, 35%, 100%)
CMYKcmyk(19.2%, 34.5%, 0%, 0%)
CIE-LABlab(74.81, 31.00, -38.37)
CIE-LCHlch(74.81, 49.33, 308.94°)
OKLaboklab(79.51% 0.0715 -0.1061)
OKLCHoklch(79.51% 0.128 304)
XYZxyz(57.3186, 47.9794, 100.8296)
Luminance0.4798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA7FF #D8FFA7
analogous
#A7ACFF #CEA7FF #FAA7FF
triadic
#CEA7FF #FFCEA7 #A7FFCE
tetradic
#CEA7FF #FFA7AC #D8FFA7 #A7FFFA
square
#CEA7FF #FFA7AC #D8FFA7 #A7FFFA
split-complementary
#CEA7FF #FFFAA7 #ACFFA7
monochromatic
#8A2DFF #AC6AFF #CEA7FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

1.98
#CEA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CEA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA7FF
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA7FF#FFFFFF#000000##000000
##CEA7FF1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#9CB8FD
Tritanopia (blue-blind)
#C6B4C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cea7ff;
/* rgb */ color: rgb(206, 167, 255);
/* oklch */ color: oklch(79.5% 0.128 304.0);
Tailwind
colors: {
  custom: {
    50: '#dec1ff',
    500: '#cea7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cea7ff;
$custom-light: #dec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cea7ff",
  "rgb": {
    "r": 206,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 266.591,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79513,
    "c": 0.12796,
    "h": 304
  },
  "luminance": 0.47979
}

Semantic roles & 50–950 ramp

primary
#CEA7FF
secondary
#E8F7D4
accent
#E60080
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CEA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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