#C02FBE#C02FBE

#C02FBE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.234 H 328.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C02FBE
RGBrgb(192, 47, 190)
HSLhsl(301, 61%, 47%)
HSVhsv(301, 76%, 75%)
CMYKcmyk(0%, 75.5%, 1%, 24.7%)
CIE-LABlab(48.21, 71.25, -43.89)
CIE-LCHlch(48.21, 83.68, 328.36°)
OKLaboklab(58.45% 0.1998 -0.1216)
OKLCHoklch(58.45% 0.234 328.7)
XYZxyz(32.0487, 16.9596, 50.2908)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FBE #2FC031
analogous
#7A2FC0 #C02FBE #C02F75
triadic
#C02FBE #BEC02F #2FBEC0
tetradic
#C02FBE #C07A2F #2FC031 #2F75C0
square
#C02FBE #C07A2F #2FC031 #2F75C0
split-complementary
#C02FBE #75C02F #2FC07A
monochromatic
#5E175D #8F238D #C02FBE #D656D4 #E288E1

Accessibility & contrast

On white

4.78
#C02FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C02FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FBE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FBE#FFFFFF#000000##FFFFFF
##C02FBE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#C64675
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02fbe;
/* rgb */ color: rgb(192, 47, 190);
/* oklch */ color: oklch(58.5% 0.234 328.7);
Tailwind
colors: {
  custom: {
    50: '#d778d2',
    500: '#c02fbe',
    950: '#000000',
  },
}
SCSS
$custom: #c02fbe;
$custom-light: #d778d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fbe",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 300.828,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.23386,
    "h": 328.7
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

primary
#C02FBE
secondary
#7FCB80
accent
#E44644
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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