#C04BBA#C04BBA

#C04BBA is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.198 H 329.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C04BBA
RGBrgb(192, 75, 186)
HSLhsl(303, 48%, 52%)
HSVhsv(303, 61%, 75%)
CMYKcmyk(0%, 60.9%, 3.1%, 24.7%)
CIE-LABlab(51.59, 60.48, -36.22)
CIE-LCHlch(51.59, 70.50, 329.08°)
OKLaboklab(60.83% 0.1708 -0.0996)
OKLCHoklch(60.83% 0.198 329.8)
XYZxyz(33.1170, 19.7861, 48.5197)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BBA #4BC051
analogous
#8C4BC0 #C04BBA #C04B80
triadic
#C04BBA #BAC04B #4BBAC0
tetradic
#C04BBA #C08C4B #4BC051 #4B80C0
square
#C04BBA #C08C4B #4BC051 #4B80C0
split-complementary
#C04BBA #80C04B #4BC08C
monochromatic
#6B2568 #983593 #C04BBA #D078CB #E0A6DD

Accessibility & contrast

On white

4.24
#C04BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C04BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BBA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BBA#FFFFFF#000000##000000
##C04BBA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#C7587C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04bba;
/* rgb */ color: rgb(192, 75, 186);
/* oklch */ color: oklch(60.8% 0.198 329.8);
Tailwind
colors: {
  custom: {
    50: '#d685cf',
    500: '#c04bba',
    950: '#000000',
  },
}
SCSS
$custom: #c04bba;
$custom-light: #d685cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bba",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 303.077,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.19767,
    "h": 329.8
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#C04BBA
secondary
#9ACD9D
accent
#D85750
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C04BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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