#C02FB8#C02FB8

#C02FB8 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.229 H 330.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C02FB8
RGBrgb(192, 47, 184)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 76%, 75%)
CMYKcmyk(0%, 75.5%, 4.2%, 24.7%)
CIE-LABlab(47.88, 70.31, -40.91)
CIE-LCHlch(47.88, 81.35, 329.81°)
OKLaboklab(58.11% 0.1998 -0.1129)
OKLCHoklch(58.11% 0.229 330.5)
XYZxyz(31.4064, 16.7027, 46.9079)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB8 #2FC037
analogous
#7F2FC0 #C02FB8 #C02F70
triadic
#C02FB8 #B8C02F #2FB8C0
tetradic
#C02FB8 #C07F2F #2FC037 #2F70C0
square
#C02FB8 #C07F2F #2FC037 #2F70C0
split-complementary
#C02FB8 #70C02F #2FC07F
monochromatic
#5E175A #8F2389 #C02FB8 #D656CF #E288DD

Accessibility & contrast

On white

4.84
#C02FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C02FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB8#FFFFFF#000000##FFFFFF
##C02FB81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BC
Deuteranopia (green-blind)
#5D78B5
Tritanopia (blue-blind)
#C74372
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fb8;
/* rgb */ color: rgb(192, 47, 184);
/* oklch */ color: oklch(58.1% 0.229 330.5);
Tailwind
colors: {
  custom: {
    50: '#d778ce',
    500: '#c02fb8',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb8;
$custom-light: #d778ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb8",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 303.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.22949,
    "h": 330.5
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#C02FB8
secondary
#7FCB84
accent
#E44D44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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