#C02FB3#C02FB3

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

Color values

HEX#C02FB3
RGBrgb(192, 47, 179)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 75.5%, 6.8%, 24.7%)
CIE-LABlab(47.62, 69.55, -38.39)
CIE-LCHlch(47.62, 79.44, 331.10°)
OKLaboklab(57.84% 0.1997 -0.1056)
OKLCHoklch(57.84% 0.226 332.1)
XYZxyz(30.8915, 16.4968, 44.1963)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB3 #2FC03C
analogous
#842FC0 #C02FB3 #C02F6B
triadic
#C02FB3 #B3C02F #2FB3C0
tetradic
#C02FB3 #C0842F #2FC03C #2F6BC0
square
#C02FB3 #C0842F #2FC03C #2F6BC0
split-complementary
#C02FB3 #6BC02F #2FC084
monochromatic
#5E1757 #8F2385 #C02FB3 #D656CA #E288DA

Accessibility & contrast

On white

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

On black

4.30
#C02FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02FB3#FFFFFF#000000##FFFFFF
##C02FB31.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb3;
/* rgb */ color: rgb(192, 47, 179);
/* oklch */ color: oklch(57.8% 0.226 332.1);
Tailwind
colors: {
  custom: {
    50: '#d777ca',
    500: '#c02fb3',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb3;
$custom-light: #d777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb3",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 305.379,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.2259,
    "h": 332.1
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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