#C02FB7#C02FB7

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

Color values

HEX#C02FB7
RGBrgb(192, 47, 183)
HSLhsl(304, 61%, 47%)
HSVhsv(304, 76%, 75%)
CMYKcmyk(0%, 75.5%, 4.7%, 24.7%)
CIE-LABlab(47.83, 70.16, -40.41)
CIE-LCHlch(47.83, 80.96, 330.06°)
OKLaboklab(58.06% 0.1998 -0.1115)
OKLCHoklch(58.06% 0.229 330.8)
XYZxyz(31.3019, 16.6609, 46.3578)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB7 #2FC038
analogous
#812FC0 #C02FB7 #C02F6F
triadic
#C02FB7 #B7C02F #2FB7C0
tetradic
#C02FB7 #C0812F #2FC038 #2F6FC0
square
#C02FB7 #C0812F #2FC038 #2F6FC0
split-complementary
#C02FB7 #6FC02F #2FC081
monochromatic
#5E1759 #8F2388 #C02FB7 #D656CE #E288DC

Accessibility & contrast

On white

4.85
#C02FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C02FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB7#FFFFFF#000000##FFFFFF
##C02FB71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#5D78B4
Tritanopia (blue-blind)
#C84271
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb7;
/* rgb */ color: rgb(192, 47, 183);
/* oklch */ color: oklch(58.1% 0.229 330.8);
Tailwind
colors: {
  custom: {
    50: '#d777cd',
    500: '#c02fb7',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb7;
$custom-light: #d777cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb7",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 303.724,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.22876,
    "h": 330.8
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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