#C04BB3#C04BB3

#C04BB3 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.192 H 332.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04BB3
RGBrgb(192, 75, 179)
HSLhsl(307, 48%, 52%)
HSVhsv(307, 61%, 75%)
CMYKcmyk(0%, 60.9%, 6.8%, 24.7%)
CIE-LABlab(51.26, 59.32, -32.67)
CIE-LCHlch(51.26, 67.72, 331.16°)
OKLaboklab(60.47% 0.17 -0.0894)
OKLCHoklch(60.47% 0.192 332.3)
XYZxyz(32.3910, 19.4957, 44.6961)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB3 #4BC058
analogous
#934BC0 #C04BB3 #C04B78
triadic
#C04BB3 #B3C04B #4BB3C0
tetradic
#C04BB3 #C0934B #4BC058 #4B78C0
square
#C04BB3 #C0934B #4BC058 #4B78C0
split-complementary
#C04BB3 #78C04B #4BC093
monochromatic
#6B2563 #98358D #C04BB3 #D078C6 #E0A6D9

Accessibility & contrast

On white

4.29
#C04BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C04BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB3#FFFFFF#000000##000000
##C04BB31.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#C85578
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bb3;
/* rgb */ color: rgb(192, 75, 179);
/* oklch */ color: oklch(60.5% 0.192 332.3);
Tailwind
colors: {
  custom: {
    50: '#d684ca',
    500: '#c04bb3',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb3;
$custom-light: #d684ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb3",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 306.667,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.19205,
    "h": 332.3
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#C04BB3
secondary
#9ACDA0
accent
#D85F50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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