#C03BAF#C03BAF

#C03BAF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.210 H 333.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C03BAF
RGBrgb(192, 59, 175)
HSLhsl(308, 53%, 49%)
HSVhsv(308, 69%, 75%)
CMYKcmyk(0%, 69.3%, 8.9%, 24.7%)
CIE-LABlab(48.80, 65.01, -34.19)
CIE-LCHlch(48.80, 73.45, 332.26°)
OKLaboklab(58.62% 0.188 -0.0936)
OKLCHoklch(58.62% 0.21 333.5)
XYZxyz(31.0402, 17.4321, 42.2790)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03BAF #3BC04C
analogous
#8F3BC0 #C03BAF #C03B6D
triadic
#C03BAF #AFC03B #3BAFC0
tetradic
#C03BAF #C08F3B #3BC04C #3B6DC0
square
#C03BAF #C08F3B #3BC04C #3B6DC0
split-complementary
#C03BAF #6DC03B #3BC08F
monochromatic
#621E5A #912D84 #C03BAF #D168C3 #DF97D6

Accessibility & contrast

On white

4.68
#C03BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C03BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03BAF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03BAF#FFFFFF#000000##FFFFFF
##C03BAF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#C94770
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c03baf;
/* rgb */ color: rgb(192, 59, 175);
/* oklch */ color: oklch(58.6% 0.210 333.5);
Tailwind
colors: {
  custom: {
    50: '#d77cc7',
    500: '#c03baf',
    950: '#000000',
  },
}
SCSS
$custom: #c03baf;
$custom-light: #d77cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c03baf",
  "rgb": {
    "r": 192,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 307.669,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.20998,
    "h": 333.5
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#C03BAF
secondary
#8CCA94
accent
#DC5E4B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C03BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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