#C062C8#C062C8

#C062C8 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.4% C 0.175 H 324.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C062C8
RGBrgb(192, 98, 200)
HSLhsl(295, 48%, 58%)
HSVhsv(295, 51%, 78%)
CMYKcmyk(4%, 51%, 0%, 21.6%)
CIE-LABlab(56.20, 52.32, -37.04)
CIE-LCHlch(56.20, 64.10, 324.70°)
OKLaboklab(64.42% 0.1425 -0.1021)
OKLCHoklch(64.42% 0.175 324.4)
XYZxyz(36.5303, 24.1138, 57.3626)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062C8 #6AC862
analogous
#8D62C8 #C062C8 #C8629D
triadic
#C062C8 #C8C062 #62C8C0
tetradic
#C062C8 #C88D62 #6AC862 #629DC8
square
#C062C8 #C88D62 #6AC862 #629DC8
split-complementary
#C062C8 #9DC862 #62C88D
monochromatic
#7B2E82 #A63DAF #C062C8 #D28FD8 #E4BDE8

Accessibility & contrast

On white

3.61
#C062C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C062C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062C8#FFFFFF#000000##000000
##C062C81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#C46F8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c062c8;
/* rgb */ color: rgb(192, 98, 200);
/* oklch */ color: oklch(64.4% 0.175 324.4);
Tailwind
colors: {
  custom: {
    50: '#d592d9',
    500: '#c062c8',
    950: '#000000',
  },
}
SCSS
$custom: #c062c8;
$custom-light: #d592d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c062c8",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 295.294,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.17529,
    "h": 324.4
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#C062C8
secondary
#B2D7AF
accent
#D8505B
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C062C8

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

Preview Lab → · Contrast checker → · Palette generator →

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