#C262D4#C262D4

#C262D4 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.188 H 321.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#C262D4
RGBrgb(194, 98, 212)
HSLhsl(291, 57%, 61%)
HSVhsv(291, 54%, 83%)
CMYKcmyk(8.5%, 53.8%, 0%, 16.9%)
CIE-LABlab(57.04, 55.13, -42.53)
CIE-LCHlch(57.04, 69.63, 322.35°)
OKLaboklab(65.28% 0.1462 -0.1179)
OKLCHoklch(65.28% 0.188 321.1)
XYZxyz(38.4981, 24.9599, 65.0644)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D4 #74D462
analogous
#8962D4 #C262D4 #D462AD
triadic
#C262D4 #D4C262 #62D4C2
tetradic
#C262D4 #D48962 #74D462 #62ADD4
square
#C262D4 #D48962 #74D462 #62ADD4
split-complementary
#C262D4 #ADD462 #62D489
monochromatic
#822893 #AD35C3 #C262D4 #D592E1 #E7C2EE

Accessibility & contrast

On white

3.50
#C262D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#C262D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D4#FFFFFF#000000##000000
##C262D41.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#6D8DD1
Tritanopia (blue-blind)
#C47292
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d4;
/* rgb */ color: rgb(194, 98, 212);
/* oklch */ color: oklch(65.3% 0.188 321.1);
Tailwind
colors: {
  custom: {
    50: '#d793e1',
    500: '#c262d4',
    950: '#000000',
  },
}
SCSS
$custom: #c262d4;
$custom-light: #d793e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d4",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 290.526,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65276,
    "c": 0.18783,
    "h": 321.1
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#C262D4
secondary
#BADEB3
accent
#C5213B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262D4

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

Preview Lab → · Contrast checker → · Palette generator →

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