#C29DF2#C29DF2

#C29DF2 is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.1% C 0.125 H 303.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C29DF2
RGBrgb(194, 157, 242)
HSLhsl(266, 77%, 78%)
HSVhsv(266, 35%, 95%)
CMYKcmyk(19.8%, 35.1%, 0%, 5.1%)
CIE-LABlab(70.87, 30.08, -37.54)
CIE-LCHlch(70.87, 48.10, 308.71°)
OKLaboklab(76.08% 0.069 -0.1039)
OKLCHoklch(76.08% 0.125 303.6)
XYZxyz(50.3288, 41.9942, 89.4414)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C29DF2 #CDF29D
analogous
#9DA2F2 #C29DF2 #ED9DF2
triadic
#C29DF2 #F2C29D #9DF2C2
tetradic
#C29DF2 #F29DA2 #CDF29D #9DF2ED
square
#C29DF2 #F29DA2 #CDF29D #9DF2ED
split-complementary
#C29DF2 #F2ED9D #A2F29D
monochromatic
#7F31E4 #A067EB #C29DF2 #E4D3F9 #EEE4FB

Accessibility & contrast

On white

2.23
#C29DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C29DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C29DF2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C29DF2#FFFFFF#000000##000000
##C29DF21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#92ADF0
Tritanopia (blue-blind)
#BAAABC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c29df2;
/* rgb */ color: rgb(194, 157, 242);
/* oklch */ color: oklch(76.1% 0.125 303.6);
Tailwind
colors: {
  custom: {
    50: '#d5baf6',
    500: '#c29df2',
    950: '#000000',
  },
}
SCSS
$custom: #c29df2;
$custom-light: #d5baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c29df2",
  "rgb": {
    "r": 194,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 266.118,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76077,
    "c": 0.12468,
    "h": 303.6
  },
  "luminance": 0.41994
}

Semantic roles & 50–950 ramp

primary
#C29DF2
secondary
#E7F3D8
accent
#D90D80
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #C29DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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