#C262C8#C262C8

#C262C8 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.7% C 0.176 H 325.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C262C8
RGBrgb(194, 98, 200)
HSLhsl(296, 48%, 58%)
HSVhsv(296, 51%, 78%)
CMYKcmyk(3%, 51%, 0%, 21.6%)
CIE-LABlab(56.46, 52.87, -36.62)
CIE-LCHlch(56.46, 64.32, 325.30°)
OKLaboklab(64.67% 0.1448 -0.1009)
OKLCHoklch(64.67% 0.176 325.1)
XYZxyz(37.0403, 24.3767, 57.3865)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C8 #68C862
analogous
#8F62C8 #C262C8 #C8629B
triadic
#C262C8 #C8C262 #62C8C2
tetradic
#C262C8 #C88F62 #68C862 #629BC8
square
#C262C8 #C88F62 #68C862 #629BC8
split-complementary
#C262C8 #9BC862 #62C88F
monochromatic
#7D2E82 #A93DAF #C262C8 #D48FD8 #E5BDE8

Accessibility & contrast

On white

3.57
#C262C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C262C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C8#FFFFFF#000000##000000
##C262C81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#738CC5
Tritanopia (blue-blind)
#C66E8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c8;
/* rgb */ color: rgb(194, 98, 200);
/* oklch */ color: oklch(64.7% 0.176 325.1);
Tailwind
colors: {
  custom: {
    50: '#d792d9',
    500: '#c262c8',
    950: '#000000',
  },
}
SCSS
$custom: #c262c8;
$custom-light: #d792d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c8",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 296.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.17643,
    "h": 325.1
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#C262C8
secondary
#B1D7AF
accent
#D85058
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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