#C399EA#C399EA

#C399EA is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.1% C 0.122 H 307.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#C399EA
RGBrgb(195, 153, 234)
HSLhsl(271, 66%, 76%)
HSVhsv(271, 35%, 92%)
CMYKcmyk(16.7%, 34.6%, 0%, 8.2%)
CIE-LABlab(69.70, 30.82, -34.97)
CIE-LCHlch(69.70, 46.61, 311.39°)
OKLaboklab(75.1% 0.0739 -0.0965)
OKLCHoklch(75.1% 0.122 307.5)
XYZxyz(48.7454, 40.3255, 83.0416)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C399EA #C0EA99
analogous
#9A99EA #C399EA #EA99E9
triadic
#C399EA #EAC399 #99EAC3
tetradic
#C399EA #EA9A99 #C0EA99 #99E9EA
square
#C399EA #EA9A99 #C0EA99 #99E9EA
split-complementary
#C399EA #E9EA99 #99EA9A
monochromatic
#8733D5 #A566E0 #C399EA #E1CCF4 #F0E6FA

Accessibility & contrast

On white

2.32
#C399EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#C399EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C399EA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C399EA#FFFFFF#000000##000000
##C399EA1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#BEA5B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c399ea;
/* rgb */ color: rgb(195, 153, 234);
/* oklch */ color: oklch(75.1% 0.122 307.5);
Tailwind
colors: {
  custom: {
    50: '#d6b7f1',
    500: '#c399ea',
    950: '#000000',
  },
}
SCSS
$custom: #c399ea;
$custom-light: #d6b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c399ea",
  "rgb": {
    "r": 195,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 271.111,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75103,
    "c": 0.12155,
    "h": 307.5
  },
  "luminance": 0.40325
}

Semantic roles & 50–950 ramp

primary
#C399EA
secondary
#E5F1DA
accent
#CE186F
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C399EA

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

Preview Lab → · Contrast checker → · Palette generator →

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