#C29FF2#C29FF2

#C29FF2 is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.4% C 0.121 H 303.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C29FF2
RGBrgb(194, 159, 242)
HSLhsl(265, 76%, 79%)
HSVhsv(265, 34%, 95%)
CMYKcmyk(19.8%, 34.3%, 0%, 5.1%)
CIE-LABlab(71.33, 28.98, -36.81)
CIE-LCHlch(71.33, 46.85, 308.21°)
OKLaboklab(76.43% 0.0662 -0.1018)
OKLCHoklch(76.43% 0.121 303)
XYZxyz(50.6699, 42.6765, 89.5552)
Luminance0.4268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C29FF2 #CFF29F
analogous
#9FA5F2 #C29FF2 #EB9FF2
triadic
#C29FF2 #F2C29F #9FF2C2
tetradic
#C29FF2 #F29FA5 #CFF29F #9FF2EB
square
#C29FF2 #F29FA5 #CFF29F #9FF2EB
split-complementary
#C29FF2 #F2EB9F #A5F29F
monochromatic
#7D33E3 #A069EB #C29FF2 #E4D5F9 #EEE4FB

Accessibility & contrast

On white

2.20
#C29FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#C29FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C29FF2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C29FF2#FFFFFF#000000##000000
##C29FF21.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#BAACBE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c29ff2;
/* rgb */ color: rgb(194, 159, 242);
/* oklch */ color: oklch(76.4% 0.121 303.0);
Tailwind
colors: {
  custom: {
    50: '#d5bbf6',
    500: '#c29ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c29ff2;
$custom-light: #d5bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c29ff2",
  "rgb": {
    "r": 194,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 265.301,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76433,
    "c": 0.1214,
    "h": 303
  },
  "luminance": 0.42676
}

Semantic roles & 50–950 ramp

primary
#C29FF2
secondary
#E8F3D8
accent
#D80D83
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141217
muted
#838185

Preview Lab

Preview with #C29FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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