#C02FBB#C02FBB

#C02FBB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.232 H 329.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C02FBB
RGBrgb(192, 47, 187)
HSLhsl(302, 61%, 47%)
HSVhsv(302, 76%, 75%)
CMYKcmyk(0%, 75.5%, 2.6%, 24.7%)
CIE-LABlab(48.04, 70.78, -42.41)
CIE-LCHlch(48.04, 82.51, 329.07°)
OKLaboklab(58.28% 0.1998 -0.1172)
OKLCHoklch(58.28% 0.232 329.6)
XYZxyz(31.7242, 16.8298, 48.5817)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FBB #2FC034
analogous
#7D2FC0 #C02FBB #C02F73
triadic
#C02FBB #BBC02F #2FBBC0
tetradic
#C02FBB #C07D2F #2FC034 #2F73C0
square
#C02FBB #C07D2F #2FC034 #2F73C0
split-complementary
#C02FBB #73C02F #2FC07D
monochromatic
#5E175B #8F238B #C02FBB #D656D1 #E288DF

Accessibility & contrast

On white

4.81
#C02FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C02FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FBB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FBB#FFFFFF#000000##FFFFFF
##C02FBB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#C74474
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fbb;
/* rgb */ color: rgb(192, 47, 187);
/* oklch */ color: oklch(58.3% 0.232 329.6);
Tailwind
colors: {
  custom: {
    50: '#d778d0',
    500: '#c02fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c02fbb;
$custom-light: #d778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fbb",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 302.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.23166,
    "h": 329.6
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#C02FBB
secondary
#7FCB82
accent
#E44A44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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