#C62FB7#C62FB7

#C62FB7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.232 H 332.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C62FB7
RGBrgb(198, 47, 183)
HSLhsl(306, 62%, 48%)
HSVhsv(306, 76%, 78%)
CMYKcmyk(0%, 76.3%, 7.6%, 22.4%)
CIE-LABlab(48.84, 71.44, -38.75)
CIE-LCHlch(48.84, 81.27, 331.52°)
OKLaboklab(58.97% 0.2058 -0.1065)
OKLCHoklch(58.97% 0.232 332.6)
XYZxyz(32.8526, 17.4605, 46.4305)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62FB7 #2FC63E
analogous
#892FC6 #C62FB7 #C62F6C
triadic
#C62FB7 #B7C62F #2FB7C6
tetradic
#C62FB7 #C6892F #2FC63E #2F6CC6
square
#C62FB7 #C6892F #2FC63E #2F6CC6
split-complementary
#C62FB7 #6CC62F #2FC689
monochromatic
#63185C #952389 #C62FB7 #D85ACB #E48CDB

Accessibility & contrast

On white

4.68
#C62FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C62FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62FB7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62FB7#FFFFFF#000000##FFFFFF
##C62FB71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BB
Deuteranopia (green-blind)
#637BB3
Tritanopia (blue-blind)
#CF4171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c62fb7;
/* rgb */ color: rgb(198, 47, 183);
/* oklch */ color: oklch(59.0% 0.232 332.6);
Tailwind
colors: {
  custom: {
    50: '#db78cd',
    500: '#c62fb7',
    950: '#000000',
  },
}
SCSS
$custom: #c62fb7;
$custom-light: #db78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c62fb7",
  "rgb": {
    "r": 198,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 305.96,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.23171,
    "h": 332.6
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#C62FB7
secondary
#83CE8A
accent
#E55343
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C62FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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