#C04BB5#C04BB5

#C04BB5 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.6% C 0.194 H 331.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C04BB5
RGBrgb(192, 75, 181)
HSLhsl(306, 48%, 52%)
HSVhsv(306, 61%, 75%)
CMYKcmyk(0%, 60.9%, 5.7%, 24.7%)
CIE-LABlab(51.36, 59.65, -33.69)
CIE-LCHlch(51.36, 68.51, 330.54°)
OKLaboklab(60.57% 0.1702 -0.0923)
OKLCHoklch(60.57% 0.194 331.5)
XYZxyz(32.5947, 19.5772, 45.7691)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB5 #4BC056
analogous
#914BC0 #C04BB5 #C04B7B
triadic
#C04BB5 #B5C04B #4BB5C0
tetradic
#C04BB5 #C0914B #4BC056 #4B7BC0
square
#C04BB5 #C0914B #4BC056 #4B7BC0
split-complementary
#C04BB5 #7BC04B #4BC091
monochromatic
#6B2565 #98358F #C04BB5 #D078C8 #E0A6DA

Accessibility & contrast

On white

4.27
#C04BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C04BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB5#FFFFFF#000000##000000
##C04BB51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B8
Deuteranopia (green-blind)
#6C80B2
Tritanopia (blue-blind)
#C75679
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bb5;
/* rgb */ color: rgb(192, 75, 181);
/* oklch */ color: oklch(60.6% 0.194 331.5);
Tailwind
colors: {
  custom: {
    50: '#d684cb',
    500: '#c04bb5',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb5;
$custom-light: #d684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb5",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 305.641,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.19363,
    "h": 331.5
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#C04BB5
secondary
#9ACD9F
accent
#D85D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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