#C04BB8#C04BB8

#C04BB8 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.196 H 330.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04BB8
RGBrgb(192, 75, 184)
HSLhsl(304, 48%, 52%)
HSVhsv(304, 61%, 75%)
CMYKcmyk(0%, 60.9%, 4.2%, 24.7%)
CIE-LABlab(51.50, 60.15, -35.21)
CIE-LCHlch(51.50, 69.69, 329.66°)
OKLaboklab(60.72% 0.1706 -0.0967)
OKLCHoklch(60.72% 0.196 330.5)
XYZxyz(32.9058, 19.7016, 47.4077)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB8 #4BC053
analogous
#8E4BC0 #C04BB8 #C04B7D
triadic
#C04BB8 #B8C04B #4BB8C0
tetradic
#C04BB8 #C08E4B #4BC053 #4B7DC0
square
#C04BB8 #C08E4B #4BC053 #4B7DC0
split-complementary
#C04BB8 #7DC04B #4BC08E
monochromatic
#6B2566 #983592 #C04BB8 #D078CA #E0A6DC

Accessibility & contrast

On white

4.25
#C04BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C04BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB8#FFFFFF#000000##000000
##C04BB81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BB
Deuteranopia (green-blind)
#6A80B5
Tritanopia (blue-blind)
#C7577B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04bb8;
/* rgb */ color: rgb(192, 75, 184);
/* oklch */ color: oklch(60.7% 0.196 330.5);
Tailwind
colors: {
  custom: {
    50: '#d685cd',
    500: '#c04bb8',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb8;
$custom-light: #d685cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb8",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 304.103,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.19606,
    "h": 330.5
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#C04BB8
secondary
#9ACD9D
accent
#D85950
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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