#C299FF#C299FF

#C299FF is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.148 H 301.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#C299FF
RGBrgb(194, 153, 255)
HSLhsl(264, 100%, 80%)
HSVhsv(264, 40%, 100%)
CMYKcmyk(23.9%, 40%, 0%, 0%)
CIE-LABlab(70.51, 35.25, -45.18)
CIE-LCHlch(70.51, 57.30, 307.96°)
OKLaboklab(75.99% 0.0772 -0.1259)
OKLCHoklch(75.99% 0.148 301.5)
XYZxyz(51.6854, 41.4717, 99.8703)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299FF #D6FF99
analogous
#99A3FF #C299FF #F599FF
triadic
#C299FF #FFC299 #99FFC2
tetradic
#C299FF #FF99A3 #D6FF99 #99FFF5
square
#C299FF #FF99A3 #D6FF99 #99FFF5
split-complementary
#C299FF #FFF599 #A3FF99
monochromatic
#791FFF #9D5CFF #C299FF #E7D6FF #EDE0FF

Accessibility & contrast

On white

2.26
#C299FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#C299FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299FF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299FF#FFFFFF#000000##000000
##C299FF1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#B7AAC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c299ff;
/* rgb */ color: rgb(194, 153, 255);
/* oklch */ color: oklch(76.0% 0.148 301.5);
Tailwind
colors: {
  custom: {
    50: '#d6b7ff',
    500: '#c299ff',
    950: '#000000',
  },
}
SCSS
$custom: #c299ff;
$custom-light: #d6b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c299ff",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 264.118,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.14763,
    "h": 301.5
  },
  "luminance": 0.41472
}

Semantic roles & 50–950 ramp

primary
#C299FF
secondary
#E9F7D4
accent
#E60089
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C299FF

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

Preview Lab → · Contrast checker → · Palette generator →

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