#C299EA#C299EA

#C299EA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.0% C 0.121 H 306.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#C299EA
RGBrgb(194, 153, 234)
HSLhsl(270, 66%, 76%)
HSVhsv(270, 35%, 92%)
CMYKcmyk(17.1%, 34.6%, 0%, 8.2%)
CIE-LABlab(69.61, 30.52, -35.12)
CIE-LCHlch(69.61, 46.53, 310.99°)
OKLaboklab(75.01% 0.0728 -0.0969)
OKLCHoklch(75.01% 0.121 306.9)
XYZxyz(48.4878, 40.1927, 83.0295)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299EA #C1EA99
analogous
#9999EA #C299EA #EA99EA
triadic
#C299EA #EAC299 #99EAC2
tetradic
#C299EA #EA9999 #C1EA99 #99EAEA
square
#C299EA #EA9999 #C1EA99 #99EAEA
split-complementary
#C299EA #EAEA99 #99EA99
monochromatic
#8533D5 #A466E0 #C299EA #E0CCF4 #F0E6FA

Accessibility & contrast

On white

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

On black

9.04
#C299EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299EA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299EA#FFFFFF#000000##000000
##C299EA1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A8ED
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#BCA5B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c299ea;
/* rgb */ color: rgb(194, 153, 234);
/* oklch */ color: oklch(75.0% 0.121 306.9);
Tailwind
colors: {
  custom: {
    50: '#d5b7f1',
    500: '#c299ea',
    950: '#000000',
  },
}
SCSS
$custom: #c299ea;
$custom-light: #d5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c299ea",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 270.37,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75009,
    "c": 0.12122,
    "h": 306.9
  },
  "luminance": 0.40192
}

Semantic roles & 50–950 ramp

primary
#C299EA
secondary
#E5F1DA
accent
#CE1872
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C299EA

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

Preview Lab → · Contrast checker → · Palette generator →

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