#C299EB#C299EB

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

Color values

HEX#C299EB
RGBrgb(194, 153, 235)
HSLhsl(270, 67%, 76%)
HSVhsv(270, 35%, 92%)
CMYKcmyk(17.4%, 34.9%, 0%, 7.8%)
CIE-LABlab(69.65, 30.74, -35.61)
CIE-LCHlch(69.65, 47.04, 310.81°)
OKLaboklab(75.05% 0.073 -0.0983)
OKLCHoklch(75.05% 0.122 306.6)
XYZxyz(48.6319, 40.2503, 83.7882)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299EB #C2EB99
analogous
#9999EB #C299EB #EB99EB
triadic
#C299EB #EBC299 #99EBC2
tetradic
#C299EB #EB9999 #C2EB99 #99EBEB
square
#C299EB #EB9999 #C2EB99 #99EBEB
split-complementary
#C299EB #EBEB99 #99EB99
monochromatic
#8533D7 #A366E1 #C299EB #E1CCF5 #F0E5FA

Accessibility & contrast

On white

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

On black

9.05
#C299EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299EB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299EB#FFFFFF#000000##000000
##C299EB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#BCA5B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c299eb;
/* rgb */ color: rgb(194, 153, 235);
/* oklch */ color: oklch(75.1% 0.122 306.6);
Tailwind
colors: {
  custom: {
    50: '#d5b7f1',
    500: '#c299eb',
    950: '#000000',
  },
}
SCSS
$custom: #c299eb;
$custom-light: #d5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c299eb",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75054,
    "c": 0.12247,
    "h": 306.6
  },
  "luminance": 0.4025
}

Semantic roles & 50–950 ramp

primary
#C299EB
secondary
#E6F1DA
accent
#CF1673
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C299EB

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

Preview Lab → · Contrast checker → · Palette generator →

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