#C04BB7#C04BB7

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

Color values

HEX#C04BB7
RGBrgb(192, 75, 183)
HSLhsl(305, 48%, 52%)
HSVhsv(305, 61%, 75%)
CMYKcmyk(0%, 60.9%, 4.7%, 24.7%)
CIE-LABlab(51.45, 59.98, -34.70)
CIE-LCHlch(51.45, 69.30, 329.95°)
OKLaboklab(60.67% 0.1705 -0.0952)
OKLCHoklch(60.67% 0.195 330.8)
XYZxyz(32.8014, 19.6598, 46.8576)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB7 #4BC054
analogous
#8E4BC0 #C04BB7 #C04B7D
triadic
#C04BB7 #B7C04B #4BB7C0
tetradic
#C04BB7 #C08E4B #4BC054 #4B7DC0
square
#C04BB7 #C08E4B #4BC054 #4B7DC0
split-complementary
#C04BB7 #7DC04B #4BC08E
monochromatic
#6B2566 #983591 #C04BB7 #D078C9 #E0A6DB

Accessibility & contrast

On white

4.26
#C04BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C04BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB7#FFFFFF#000000##000000
##C04BB71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#6B80B4
Tritanopia (blue-blind)
#C7567A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04bb7;
/* rgb */ color: rgb(192, 75, 183);
/* oklch */ color: oklch(60.7% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#d685cd',
    500: '#c04bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb7;
$custom-light: #d685cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb7",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 304.615,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.19524,
    "h": 330.8
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#C04BB7
secondary
#9ACD9E
accent
#D85B50
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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