#C299EF#C299EF

#C299EF is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.2% C 0.127 H 305.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C299EF
RGBrgb(194, 153, 239)
HSLhsl(269, 73%, 77%)
HSVhsv(269, 36%, 94%)
CMYKcmyk(18.8%, 36%, 0%, 6.3%)
CIE-LABlab(69.81, 31.62, -37.54)
CIE-LCHlch(69.81, 49.08, 310.11°)
OKLaboklab(75.23% 0.0739 -0.1039)
OKLCHoklch(75.23% 0.127 305.4)
XYZxyz(49.2162, 40.4840, 86.8660)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299EF #C6EF99
analogous
#999BEF #C299EF #ED99EF
triadic
#C299EF #EFC299 #99EFC2
tetradic
#C299EF #EF999B #C6EF99 #99EFED
square
#C299EF #EF999B #C6EF99 #99EFED
split-complementary
#C299EF #EFED99 #9BEF99
monochromatic
#832FDE #A264E7 #C299EF #E2CEF7 #EFE5FB

Accessibility & contrast

On white

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

On black

9.10
#C299EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299EF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299EF#FFFFFF#000000##000000
##C299EF1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#BBA6B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299ef;
/* rgb */ color: rgb(194, 153, 239);
/* oklch */ color: oklch(75.2% 0.127 305.4);
Tailwind
colors: {
  custom: {
    50: '#d5b7f4',
    500: '#c299ef',
    950: '#000000',
  },
}
SCSS
$custom: #c299ef;
$custom-light: #d5b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c299ef",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 268.605,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75234,
    "c": 0.12748,
    "h": 305.4
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

primary
#C299EF
secondary
#E6F3D8
accent
#D51177
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C299EF

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

Preview Lab → · Contrast checker → · Palette generator →

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