#C02FBC#C02FBC

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

Color values

HEX#C02FBC
RGBrgb(192, 47, 188)
HSLhsl(302, 61%, 47%)
HSVhsv(302, 76%, 75%)
CMYKcmyk(0%, 75.5%, 2.1%, 24.7%)
CIE-LABlab(48.10, 70.93, -42.90)
CIE-LCHlch(48.10, 82.90, 328.83°)
OKLaboklab(58.34% 0.1998 -0.1187)
OKLCHoklch(58.34% 0.232 329.3)
XYZxyz(31.8316, 16.8728, 49.1474)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FBC #2FC033
analogous
#7C2FC0 #C02FBC #C02F74
triadic
#C02FBC #BCC02F #2FBCC0
tetradic
#C02FBC #C07C2F #2FC033 #2F74C0
square
#C02FBC #C07C2F #2FC033 #2F74C0
split-complementary
#C02FBC #74C02F #2FC07C
monochromatic
#5E175C #8F238C #C02FBC #D656D2 #E288DF

Accessibility & contrast

On white

4.80
#C02FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02FBC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FBC#FFFFFF#000000##FFFFFF
##C02FBC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#C74574
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fbc;
/* rgb */ color: rgb(192, 47, 188);
/* oklch */ color: oklch(58.3% 0.232 329.3);
Tailwind
colors: {
  custom: {
    50: '#d778d1',
    500: '#c02fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c02fbc;
$custom-light: #d778d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fbc",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 301.655,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.23239,
    "h": 329.3
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#C02FBC
secondary
#7FCB81
accent
#E44844
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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