#C299F7#C299F7

#C299F7 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.138 H 303.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C299F7
RGBrgb(194, 153, 247)
HSLhsl(266, 85%, 78%)
HSVhsv(266, 38%, 97%)
CMYKcmyk(21.5%, 38.1%, 0%, 3.1%)
CIE-LABlab(70.15, 33.42, -41.38)
CIE-LCHlch(70.15, 53.18, 308.93°)
OKLaboklab(75.6% 0.0756 -0.1149)
OKLCHoklch(75.6% 0.138 303.4)
XYZxyz(50.4243, 40.9673, 93.2287)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299F7 #CEF799
analogous
#999FF7 #C299F7 #F199F7
triadic
#C299F7 #F7C299 #99F7C2
tetradic
#C299F7 #F7999F #CEF799 #99F7F1
square
#C299F7 #F7999F #CEF799 #99F7F1
split-complementary
#C299F7 #F7F199 #9FF799
monochromatic
#7E27EE #A060F3 #C299F7 #E4D2FB #EEE3FD

Accessibility & contrast

On white

2.28
#C299F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C299F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299F7
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299F7#FFFFFF#000000##000000
##C299F71.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#B9A8BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c299f7;
/* rgb */ color: rgb(194, 153, 247);
/* oklch */ color: oklch(75.6% 0.138 303.4);
Tailwind
colors: {
  custom: {
    50: '#d6b7fa',
    500: '#c299f7',
    950: '#000000',
  },
}
SCSS
$custom: #c299f7;
$custom-light: #d6b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c299f7",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 266.17,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75604,
    "c": 0.13755,
    "h": 303.4
  },
  "luminance": 0.40967
}

Semantic roles & 50–950 ramp

primary
#C299F7
secondary
#E7F5D6
accent
#E20481
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299F7

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

Preview Lab → · Contrast checker → · Palette generator →

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