#C299ED#C299ED

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

Color values

HEX#C299ED
RGBrgb(194, 153, 237)
HSLhsl(269, 70%, 76%)
HSVhsv(269, 35%, 93%)
CMYKcmyk(18.1%, 35.4%, 0%, 7.1%)
CIE-LABlab(69.73, 31.18, -36.57)
CIE-LCHlch(69.73, 48.06, 310.45°)
OKLaboklab(75.14% 0.0735 -0.1011)
OKLCHoklch(75.14% 0.125 306)
XYZxyz(48.9224, 40.3665, 85.3186)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299ED #C4ED99
analogous
#999AED #C299ED #EC99ED
triadic
#C299ED #EDC299 #99EDC2
tetradic
#C299ED #ED999A #C4ED99 #99EDEC
square
#C299ED #ED999A #C4ED99 #99EDEC
split-complementary
#C299ED #EDEC99 #9AED99
monochromatic
#8431DB #A365E4 #C299ED #E1CDF6 #EFE5FA

Accessibility & contrast

On white

2.31
#C299ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C299ED#FFFFFF#000000##000000
##C299ED1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F0
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#BCA6B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c299ed;
/* rgb */ color: rgb(194, 153, 237);
/* oklch */ color: oklch(75.1% 0.125 306.0);
Tailwind
colors: {
  custom: {
    50: '#d5b7f3',
    500: '#c299ed',
    950: '#000000',
  },
}
SCSS
$custom: #c299ed;
$custom-light: #d5b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c299ed",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 269.286,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75144,
    "c": 0.12497,
    "h": 306
  },
  "luminance": 0.40366
}

Semantic roles & 50–950 ramp

primary
#C299ED
secondary
#E6F2D9
accent
#D21475
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C299ED

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

Preview Lab → · Contrast checker → · Palette generator →

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