#C04BBB#C04BBB

#C04BBB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.9% C 0.198 H 329.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C04BBB
RGBrgb(192, 75, 187)
HSLhsl(303, 48%, 52%)
HSVhsv(303, 61%, 75%)
CMYKcmyk(0%, 60.9%, 2.6%, 24.7%)
CIE-LABlab(51.64, 60.65, -36.72)
CIE-LCHlch(51.64, 70.90, 328.80°)
OKLaboklab(60.88% 0.1709 -0.101)
OKLCHoklch(60.88% 0.198 329.4)
XYZxyz(33.2236, 19.8287, 49.0815)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BBB #4BC050
analogous
#8A4BC0 #C04BBB #C04B81
triadic
#C04BBB #BBC04B #4BBBC0
tetradic
#C04BBB #C08A4B #4BC050 #4B81C0
square
#C04BBB #C08A4B #4BC050 #4B81C0
split-complementary
#C04BBB #81C04B #4BC08A
monochromatic
#6B2568 #983594 #C04BBB #D078CC #E0A6DD

Accessibility & contrast

On white

4.23
#C04BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C04BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BBB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BBB#FFFFFF#000000##000000
##C04BBB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#C6587C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04bbb;
/* rgb */ color: rgb(192, 75, 187);
/* oklch */ color: oklch(60.9% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#d685d0',
    500: '#c04bbb',
    950: '#000000',
  },
}
SCSS
$custom: #c04bbb;
$custom-light: #d685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bbb",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 302.564,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.19849,
    "h": 329.4
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#C04BBB
secondary
#9ACD9C
accent
#D85650
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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