#C02FB4#C02FB4

#C02FB4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.227 H 331.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C02FB4
RGBrgb(192, 47, 180)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 75.5%, 6.2%, 24.7%)
CIE-LABlab(47.67, 69.70, -38.90)
CIE-LCHlch(47.67, 79.82, 330.83°)
OKLaboklab(57.89% 0.1997 -0.1071)
OKLCHoklch(57.89% 0.227 331.8)
XYZxyz(30.9930, 16.5374, 44.7309)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB4 #2FC03B
analogous
#842FC0 #C02FB4 #C02F6B
triadic
#C02FB4 #B4C02F #2FB4C0
tetradic
#C02FB4 #C0842F #2FC03B #2F6BC0
square
#C02FB4 #C0842F #2FC03B #2F6BC0
split-complementary
#C02FB4 #6BC02F #2FC084
monochromatic
#5E1758 #8F2386 #C02FB4 #D656CB #E288DA

Accessibility & contrast

On white

4.88
#C02FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C02FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB4#FFFFFF#000000##FFFFFF
##C02FB41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B8
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb4;
/* rgb */ color: rgb(192, 47, 180);
/* oklch */ color: oklch(57.9% 0.227 331.8);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02fb4',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb4;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb4",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 304.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.22662,
    "h": 331.8
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#C02FB4
secondary
#7FCB86
accent
#E45144
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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