#C04BBC#C04BBC

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

Color values

HEX#C04BBC
RGBrgb(192, 75, 188)
HSLhsl(302, 48%, 52%)
HSVhsv(302, 61%, 75%)
CMYKcmyk(0%, 60.9%, 2.1%, 24.7%)
CIE-LABlab(51.69, 60.82, -37.23)
CIE-LCHlch(51.69, 71.31, 328.53°)
OKLaboklab(60.93% 0.171 -0.1025)
OKLCHoklch(60.93% 0.199 329.1)
XYZxyz(33.3311, 19.8717, 49.6473)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BBC #4BC04F
analogous
#894BC0 #C04BBC #C04B82
triadic
#C04BBC #BCC04B #4BBCC0
tetradic
#C04BBC #C0894B #4BC04F #4B82C0
square
#C04BBC #C0894B #4BC04F #4B82C0
split-complementary
#C04BBC #82C04B #4BC089
monochromatic
#6B2569 #983595 #C04BBC #D078CD #E0A6DE

Accessibility & contrast

On white

4.22
#C04BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04BBC#FFFFFF#000000##000000
##C04BBC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#C6587D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04bbc;
/* rgb */ color: rgb(192, 75, 188);
/* oklch */ color: oklch(60.9% 0.199 329.1);
Tailwind
colors: {
  custom: {
    50: '#d685d0',
    500: '#c04bbc',
    950: '#000000',
  },
}
SCSS
$custom: #c04bbc;
$custom-light: #d685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bbc",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 302.051,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.19931,
    "h": 329.1
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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