#C04BAF#C04BAF

#C04BAF is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.189 H 333.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C04BAF
RGBrgb(192, 75, 175)
HSLhsl(309, 48%, 52%)
HSVhsv(309, 61%, 75%)
CMYKcmyk(0%, 60.9%, 8.9%, 24.7%)
CIE-LABlab(51.08, 58.68, -30.62)
CIE-LCHlch(51.08, 66.19, 332.44°)
OKLaboklab(60.28% 0.1695 -0.0835)
OKLCHoklch(60.28% 0.189 333.8)
XYZxyz(31.9923, 19.3362, 42.5964)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BAF #4BC05C
analogous
#974BC0 #C04BAF #C04B75
triadic
#C04BAF #AFC04B #4BAFC0
tetradic
#C04BAF #C0974B #4BC05C #4B75C0
square
#C04BAF #C0974B #4BC05C #4B75C0
split-complementary
#C04BAF #75C04B #4BC097
monochromatic
#6B2561 #98358A #C04BAF #D078C3 #E0A6D7

Accessibility & contrast

On white

4.31
#C04BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C04BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BAF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BAF#FFFFFF#000000##000000
##C04BAF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#C85376
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04baf;
/* rgb */ color: rgb(192, 75, 175);
/* oklch */ color: oklch(60.3% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#d684c7',
    500: '#c04baf',
    950: '#000000',
  },
}
SCSS
$custom: #c04baf;
$custom-light: #d684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04baf",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 308.718,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.18892,
    "h": 333.8
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#C04BAF
secondary
#9ACDA1
accent
#D86450
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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