#C299DB#C299DB

#C299DB is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.4% C 0.103 H 312.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C299DB
RGBrgb(194, 153, 219)
HSLhsl(277, 48%, 73%)
HSVhsv(277, 30%, 86%)
CMYKcmyk(11.4%, 30.1%, 0%, 14.1%)
CIE-LABlab(69.02, 27.32, -27.79)
CIE-LCHlch(69.02, 38.97, 314.51°)
OKLaboklab(74.37% 0.069 -0.0761)
OKLCHoklch(74.37% 0.103 312.2)
XYZxyz(46.4234, 39.3669, 72.1571)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C299DB #B2DB99
analogous
#A199DB #C299DB #DB99D3
triadic
#C299DB #DBC299 #99DBC2
tetradic
#C299DB #DBA199 #B2DB99 #99D3DB
square
#C299DB #DBA199 #B2DB99 #99D3DB
split-complementary
#C299DB #D3DB99 #99DBA1
monochromatic
#8B41B8 #A76CCB #C299DB #DDC6EB #F1E8F7

Accessibility & contrast

On white

2.37
#C299DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C299DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C299DB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C299DB#FFFFFF#000000##000000
##C299DB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#C0A1B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c299db;
/* rgb */ color: rgb(194, 153, 219);
/* oklch */ color: oklch(74.4% 0.103 312.2);
Tailwind
colors: {
  custom: {
    50: '#d5b7e6',
    500: '#c299db',
    950: '#000000',
  },
}
SCSS
$custom: #c299db;
$custom-light: #d5b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c299db",
  "rgb": {
    "r": 194,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 277.273,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.10271,
    "h": 312.2
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#C299DB
secondary
#E3EEDD
accent
#BB2A61
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C299DB

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

Preview Lab → · Contrast checker → · Palette generator →

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