#CE8AFA#CE8AFA

#CE8AFA is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.4% C 0.169 H 310.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CE8AFA
RGBrgb(206, 138, 250)
HSLhsl(276, 92%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(17.6%, 44.8%, 0%, 2%)
CIE-LABlab(68.17, 45.60, -46.04)
CIE-LCHlch(68.17, 64.80, 314.73°)
OKLaboklab(74.43% 0.1108 -0.128)
OKLCHoklch(74.43% 0.169 310.9)
XYZxyz(51.7943, 38.2018, 95.0691)
Luminance0.3820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE8AFA #B6FA8A
analogous
#968AFA #CE8AFA #FA8AEE
triadic
#CE8AFA #FACE8A #8AFACE
tetradic
#CE8AFA #FA968A #B6FA8A #8AEEFA
square
#CE8AFA #FA968A #B6FA8A #8AEEFA
split-complementary
#CE8AFA #EEFA8A #8AFA96
monochromatic
#9D15F5 #B54FF7 #CE8AFA #E7C5FD #F3E2FE

Accessibility & contrast

On white

2.43
#CE8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CE8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE8AFA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE8AFA#FFFFFF#000000##000000
##CE8AFA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#C99BB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ce8afa;
/* rgb */ color: rgb(206, 138, 250);
/* oklch */ color: oklch(74.4% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfadfc',
    500: '#ce8afa',
    950: '#000000',
  },
}
SCSS
$custom: #ce8afa;
$custom-light: #dfadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce8afa",
  "rgb": {
    "r": 206,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 276.429,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.16932,
    "h": 310.9
  },
  "luminance": 0.38201
}

Semantic roles & 50–950 ramp

primary
#CE8AFA
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CE8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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