#C02FB9#C02FB9

#C02FB9 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.230 H 330.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C02FB9
RGBrgb(192, 47, 185)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 76%, 75%)
CMYKcmyk(0%, 75.5%, 3.6%, 24.7%)
CIE-LABlab(47.94, 70.47, -41.41)
CIE-LCHlch(47.94, 81.73, 329.56°)
OKLaboklab(58.17% 0.1998 -0.1144)
OKLCHoklch(58.17% 0.23 330.2)
XYZxyz(31.5116, 16.7448, 47.4619)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB9 #2FC036
analogous
#7F2FC0 #C02FB9 #C02F70
triadic
#C02FB9 #B9C02F #2FB9C0
tetradic
#C02FB9 #C07F2F #2FC036 #2F70C0
square
#C02FB9 #C07F2F #2FC036 #2F70C0
split-complementary
#C02FB9 #70C02F #2FC07F
monochromatic
#5E175A #8F238A #C02FB9 #D656D0 #E288DD

Accessibility & contrast

On white

4.83
#C02FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C02FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB9#FFFFFF#000000##FFFFFF
##C02FB91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02fb9;
/* rgb */ color: rgb(192, 47, 185);
/* oklch */ color: oklch(58.2% 0.230 330.2);
Tailwind
colors: {
  custom: {
    50: '#d778ce',
    500: '#c02fb9',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb9;
$custom-light: #d778ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb9",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 302.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.23021,
    "h": 330.2
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#C02FB9
secondary
#7FCB83
accent
#E44C44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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