#C299FA#C299FA

#C299FA is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.7% C 0.141 H 302.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C299FA
RGBrgb(194, 153, 250)
HSLhsl(265, 91%, 79%)
HSVhsv(265, 39%, 98%)
CMYKcmyk(22.4%, 38.8%, 0%, 2%)
CIE-LABlab(70.28, 34.10, -42.80)
CIE-LCHlch(70.28, 54.73, 308.54°)
OKLaboklab(75.75% 0.0762 -0.119)
OKLCHoklch(75.75% 0.141 302.6)
XYZxyz(50.8910, 41.1539, 95.6864)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299FA #D1FA99
analogous
#99A1FA #C299FA #F399FA
triadic
#C299FA #FAC299 #99FAC2
tetradic
#C299FA #FA99A1 #D1FA99 #99FAF3
square
#C299FA #FA99A1 #D1FA99 #99FAF3
split-complementary
#C299FA #FAF399 #A1FA99
monochromatic
#7C24F4 #9F5FF7 #C299FA #E5D3FD #EEE2FE

Accessibility & contrast

On white

2.27
#C299FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C299FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299FA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299FA#FFFFFF#000000##000000
##C299FA1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#8AACF7
Tritanopia (blue-blind)
#B8A9BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c299fa;
/* rgb */ color: rgb(194, 153, 250);
/* oklch */ color: oklch(75.7% 0.141 302.6);
Tailwind
colors: {
  custom: {
    50: '#d6b7fc',
    500: '#c299fa',
    950: '#000000',
  },
}
SCSS
$custom: #c299fa;
$custom-light: #d6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c299fa",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 265.361,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75746,
    "c": 0.14133,
    "h": 302.6
  },
  "luminance": 0.41154
}

Semantic roles & 50–950 ramp

primary
#C299FA
secondary
#E8F6D5
accent
#E60084
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C299FA

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

Preview Lab → · Contrast checker → · Palette generator →

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