#C02FB5#C02FB5

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

Color values

HEX#C02FB5
RGBrgb(192, 47, 181)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 75.5%, 5.7%, 24.7%)
CIE-LABlab(47.72, 69.85, -39.40)
CIE-LCHlch(47.72, 80.20, 330.57°)
OKLaboklab(57.95% 0.1997 -0.1085)
OKLCHoklch(57.95% 0.227 331.5)
XYZxyz(31.0952, 16.5782, 45.2693)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB5 #2FC03A
analogous
#832FC0 #C02FB5 #C02F6D
triadic
#C02FB5 #B5C02F #2FB5C0
tetradic
#C02FB5 #C0832F #2FC03A #2F6DC0
square
#C02FB5 #C0832F #2FC03A #2F6DC0
split-complementary
#C02FB5 #6DC02F #2FC083
monochromatic
#5E1758 #8F2387 #C02FB5 #D656CC #E288DB

Accessibility & contrast

On white

4.87
#C02FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C02FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB5#FFFFFF#000000##FFFFFF
##C02FB51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B9
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb5;
/* rgb */ color: rgb(192, 47, 181);
/* oklch */ color: oklch(57.9% 0.227 331.5);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02fb5',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb5;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb5",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 304.552,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.22733,
    "h": 331.5
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#C02FB5
secondary
#7FCB85
accent
#E45044
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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