#C02FBA#C02FBA

#C02FBA is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.231 H 329.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C02FBA
RGBrgb(192, 47, 186)
HSLhsl(302, 61%, 47%)
HSVhsv(302, 76%, 75%)
CMYKcmyk(0%, 75.5%, 3.1%, 24.7%)
CIE-LABlab(47.99, 70.62, -41.91)
CIE-LCHlch(47.99, 82.12, 329.32°)
OKLaboklab(58.22% 0.1998 -0.1158)
OKLCHoklch(58.22% 0.231 329.9)
XYZxyz(31.6175, 16.7871, 48.0198)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FBA #2FC035
analogous
#7E2FC0 #C02FBA #C02F72
triadic
#C02FBA #BAC02F #2FBAC0
tetradic
#C02FBA #C07E2F #2FC035 #2F72C0
square
#C02FBA #C07E2F #2FC035 #2F72C0
split-complementary
#C02FBA #72C02F #2FC07E
monochromatic
#5E175B #8F238A #C02FBA #D656D0 #E288DE

Accessibility & contrast

On white

4.82
#C02FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C02FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FBA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FBA#FFFFFF#000000##FFFFFF
##C02FBA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BE
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#C74473
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fba;
/* rgb */ color: rgb(192, 47, 186);
/* oklch */ color: oklch(58.2% 0.231 329.9);
Tailwind
colors: {
  custom: {
    50: '#d778cf',
    500: '#c02fba',
    950: '#000000',
  },
}
SCSS
$custom: #c02fba;
$custom-light: #d778cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fba",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 302.483,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.23094,
    "h": 329.9
  },
  "luminance": 0.16785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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