#C29EF2#C29EF2

#C29EF2 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.3% C 0.123 H 303.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C29EF2
RGBrgb(194, 158, 242)
HSLhsl(266, 76%, 78%)
HSVhsv(266, 35%, 95%)
CMYKcmyk(19.8%, 34.7%, 0%, 5.1%)
CIE-LABlab(71.10, 29.53, -37.17)
CIE-LCHlch(71.10, 47.48, 308.46°)
OKLaboklab(76.26% 0.0676 -0.1028)
OKLCHoklch(76.26% 0.123 303.3)
XYZxyz(50.4987, 42.3339, 89.4981)
Luminance0.4233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C29EF2 #CEF29E
analogous
#9EA4F2 #C29EF2 #EC9EF2
triadic
#C29EF2 #F2C29E #9EF2C2
tetradic
#C29EF2 #F29EA4 #CEF29E #9EF2EC
square
#C29EF2 #F29EA4 #CEF29E #9EF2EC
split-complementary
#C29EF2 #F2EC9E #A4F29E
monochromatic
#7E32E4 #A068EB #C29EF2 #E4D4F9 #EEE4FB

Accessibility & contrast

On white

2.22
#C29EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#C29EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C29EF2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C29EF2#FFFFFF#000000##000000
##C29EF21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#93AEF0
Tritanopia (blue-blind)
#BAABBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c29ef2;
/* rgb */ color: rgb(194, 158, 242);
/* oklch */ color: oklch(76.3% 0.123 303.3);
Tailwind
colors: {
  custom: {
    50: '#d5bbf6',
    500: '#c29ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c29ef2;
$custom-light: #d5bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c29ef2",
  "rgb": {
    "r": 194,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76255,
    "c": 0.12304,
    "h": 303.3
  },
  "luminance": 0.42334
}

Semantic roles & 50–950 ramp

primary
#C29EF2
secondary
#E7F3D8
accent
#D90D81
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #C29EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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