#C62FB2#C62FB2

#C62FB2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.228 H 334.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C62FB2
RGBrgb(198, 47, 178)
HSLhsl(308, 62%, 48%)
HSVhsv(308, 76%, 78%)
CMYKcmyk(0%, 76.3%, 10.1%, 22.4%)
CIE-LABlab(48.58, 70.70, -36.22)
CIE-LCHlch(48.58, 79.44, 332.87°)
OKLaboklab(58.7% 0.2055 -0.0992)
OKLCHoklch(58.7% 0.228 334.2)
XYZxyz(32.3414, 17.2560, 43.7383)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62FB2 #2FC643
analogous
#8E2FC6 #C62FB2 #C62F66
triadic
#C62FB2 #B2C62F #2FB2C6
tetradic
#C62FB2 #C68E2F #2FC643 #2F66C6
square
#C62FB2 #C68E2F #2FC643 #2F66C6
split-complementary
#C62FB2 #66C62F #2FC68E
monochromatic
#631859 #952386 #C62FB2 #D85AC7 #E48CD8

Accessibility & contrast

On white

4.72
#C62FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C62FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62FB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62FB2#FFFFFF#000000##FFFFFF
##C62FB21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#CF3E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c62fb2;
/* rgb */ color: rgb(198, 47, 178);
/* oklch */ color: oklch(58.7% 0.228 334.2);
Tailwind
colors: {
  custom: {
    50: '#db78c9',
    500: '#c62fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c62fb2;
$custom-light: #db78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c62fb2",
  "rgb": {
    "r": 198,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 307.947,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.22825,
    "h": 334.2
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#C62FB2
secondary
#83CE8D
accent
#E55843
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C62FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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