#C299E2#C299E2

#C299E2 is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.7% C 0.111 H 309.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C299E2
RGBrgb(194, 153, 226)
HSLhsl(274, 56%, 74%)
HSVhsv(274, 32%, 89%)
CMYKcmyk(14.2%, 32.3%, 0%, 11.4%)
CIE-LABlab(69.29, 28.79, -31.23)
CIE-LCHlch(69.29, 42.48, 312.68°)
OKLaboklab(74.66% 0.0709 -0.0858)
OKLCHoklch(74.66% 0.111 309.5)
XYZxyz(47.3644, 39.7433, 77.1128)
Luminance0.3974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299E2 #B9E299
analogous
#9E99E2 #C299E2 #E299DD
triadic
#C299E2 #E2C299 #99E2C2
tetradic
#C299E2 #E29E99 #B9E299 #99DDE2
square
#C299E2 #E29E99 #B9E299 #99DDE2
split-complementary
#C299E2 #DDE299 #99E29E
monochromatic
#893AC7 #A669D4 #C299E2 #DEC9F0 #F1E7F8

Accessibility & contrast

On white

2.35
#C299E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C299E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299E2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299E2#FFFFFF#000000##000000
##C299E21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA7E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#BEA3B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c299e2;
/* rgb */ color: rgb(194, 153, 226);
/* oklch */ color: oklch(74.7% 0.111 309.5);
Tailwind
colors: {
  custom: {
    50: '#d5b7eb',
    500: '#c299e2',
    950: '#000000',
  },
}
SCSS
$custom: #c299e2;
$custom-light: #d5b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c299e2",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 226
  },
  "hsl": {
    "h": 273.699,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7466,
    "c": 0.11129,
    "h": 309.5
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#C299E2
secondary
#E4EFDC
accent
#C32269
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C299E2

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

Preview Lab → · Contrast checker → · Palette generator →

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