#C02FBD#C02FBD

#C02FBD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.233 H 329.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C02FBD
RGBrgb(192, 47, 189)
HSLhsl(301, 61%, 47%)
HSVhsv(301, 76%, 75%)
CMYKcmyk(0%, 75.5%, 1.6%, 24.7%)
CIE-LABlab(48.15, 71.09, -43.40)
CIE-LCHlch(48.15, 83.29, 328.60°)
OKLaboklab(58.39% 0.1998 -0.1201)
OKLCHoklch(58.39% 0.233 329)
XYZxyz(31.9398, 16.9161, 49.7171)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FBD #2FC032
analogous
#7A2FC0 #C02FBD #C02F75
triadic
#C02FBD #BDC02F #2FBDC0
tetradic
#C02FBD #C07A2F #2FC032 #2F75C0
square
#C02FBD #C07A2F #2FC032 #2F75C0
split-complementary
#C02FBD #75C02F #2FC07A
monochromatic
#5E175C #8F238D #C02FBD #D656D3 #E288E0

Accessibility & contrast

On white

4.79
#C02FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C02FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FBD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FBD#FFFFFF#000000##FFFFFF
##C02FBD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C1
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#C74575
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fbd;
/* rgb */ color: rgb(192, 47, 189);
/* oklch */ color: oklch(58.4% 0.233 329.0);
Tailwind
colors: {
  custom: {
    50: '#d778d1',
    500: '#c02fbd',
    950: '#000000',
  },
}
SCSS
$custom: #c02fbd;
$custom-light: #d778d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fbd",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 301.241,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.23313,
    "h": 329
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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