#C299EC#C299EC

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

Color values

HEX#C299EC
RGBrgb(194, 153, 236)
HSLhsl(270, 69%, 76%)
HSVhsv(270, 35%, 93%)
CMYKcmyk(17.8%, 35.2%, 0%, 7.5%)
CIE-LABlab(69.69, 30.96, -36.09)
CIE-LCHlch(69.69, 47.55, 310.63°)
OKLaboklab(75.1% 0.0733 -0.0997)
OKLCHoklch(75.1% 0.124 306.3)
XYZxyz(48.7767, 40.3082, 84.5513)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299EC #C3EC99
analogous
#999AEC #C299EC #EC99EC
triadic
#C299EC #ECC299 #99ECC2
tetradic
#C299EC #EC999A #C3EC99 #99ECEC
square
#C299EC #EC999A #C3EC99 #99ECEC
split-complementary
#C299EC #ECEC99 #9AEC99
monochromatic
#8432D9 #A365E2 #C299EC #E1CDF6 #F0E5FA

Accessibility & contrast

On white

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

On black

9.06
#C299EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299EC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299EC#FFFFFF#000000##000000
##C299EC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#BCA5B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c299ec;
/* rgb */ color: rgb(194, 153, 236);
/* oklch */ color: oklch(75.1% 0.124 306.3);
Tailwind
colors: {
  custom: {
    50: '#d5b7f2',
    500: '#c299ec',
    950: '#000000',
  },
}
SCSS
$custom: #c299ec;
$custom-light: #d5b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c299ec",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 269.639,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.12372,
    "h": 306.3
  },
  "luminance": 0.40308
}

Semantic roles & 50–950 ramp

primary
#C299EC
secondary
#E6F2D9
accent
#D11574
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C299EC

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

Preview Lab → · Contrast checker → · Palette generator →

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