#C02FB2#C02FB2

#C02FB2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.225 H 332.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C02FB2
RGBrgb(192, 47, 178)
HSLhsl(306, 61%, 47%)
HSVhsv(306, 76%, 75%)
CMYKcmyk(0%, 75.5%, 7.3%, 24.7%)
CIE-LABlab(47.57, 69.40, -37.89)
CIE-LCHlch(47.57, 79.07, 331.37°)
OKLaboklab(57.79% 0.1997 -0.1042)
OKLCHoklch(57.79% 0.225 332.4)
XYZxyz(30.7907, 16.4564, 43.6656)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB2 #2FC03D
analogous
#862FC0 #C02FB2 #C02F6A
triadic
#C02FB2 #B2C02F #2FB2C0
tetradic
#C02FB2 #C0862F #2FC03D #2F6AC0
square
#C02FB2 #C0862F #2FC03D #2F6AC0
split-complementary
#C02FB2 #6AC02F #2FC086
monochromatic
#5E1757 #8F2384 #C02FB2 #D656C9 #E288D9

Accessibility & contrast

On white

4.89
#C02FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C02FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB2#FFFFFF#000000##FFFFFF
##C02FB21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb2;
/* rgb */ color: rgb(192, 47, 178);
/* oklch */ color: oklch(57.8% 0.225 332.4);
Tailwind
colors: {
  custom: {
    50: '#d777c9',
    500: '#c02fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb2;
$custom-light: #d777c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb2",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 305.793,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.2252,
    "h": 332.4
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#C02FB2
secondary
#7FCB87
accent
#E45344
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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