#C04BC2#C04BC2

#C04BC2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.204 H 327.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C04BC2
RGBrgb(192, 75, 194)
HSLhsl(299, 49%, 53%)
HSVhsv(299, 61%, 76%)
CMYKcmyk(1%, 61.3%, 0%, 23.9%)
CIE-LABlab(51.99, 61.84, -40.23)
CIE-LCHlch(51.99, 73.77, 326.96°)
OKLaboklab(61.24% 0.1714 -0.1111)
OKLCHoklch(61.24% 0.204 327)
XYZxyz(33.9913, 20.1358, 53.1247)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BC2 #4DC24B
analogous
#854BC2 #C04BC2 #C24B88
triadic
#C04BC2 #C2C04B #4BC2C0
tetradic
#C04BC2 #C2854B #4DC24B #4B88C2
square
#C04BC2 #C2854B #4DC24B #4B88C2
split-complementary
#C04BC2 #88C24B #4BC285
monochromatic
#6C256D #99359B #C04BC2 #D079D1 #E0A6E1

Accessibility & contrast

On white

4.18
#C04BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C04BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BC2#FFFFFF#000000##000000
##C04BC21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C6
Deuteranopia (green-blind)
#6581BF
Tritanopia (blue-blind)
#C55B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04bc2;
/* rgb */ color: rgb(192, 75, 194);
/* oklch */ color: oklch(61.2% 0.204 327.0);
Tailwind
colors: {
  custom: {
    50: '#d685d5',
    500: '#c04bc2',
    950: '#000000',
  },
}
SCSS
$custom: #c04bc2;
$custom-light: #d685d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bc2",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 298.992,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.2043,
    "h": 327
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#C04BC2
secondary
#9BCE9B
accent
#D94F51
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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