#C262C4#C262C4

#C262C4 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.5% C 0.173 H 326.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#C262C4
RGBrgb(194, 98, 196)
HSLhsl(299, 45%, 58%)
HSVhsv(299, 50%, 77%)
CMYKcmyk(1%, 50%, 0%, 23.1%)
CIE-LABlab(56.28, 52.14, -34.62)
CIE-LCHlch(56.28, 62.59, 326.42°)
OKLaboklab(64.47% 0.1442 -0.0951)
OKLCHoklch(64.47% 0.173 326.6)
XYZxyz(36.5789, 24.1922, 54.9567)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C4 #64C462
analogous
#9162C4 #C262C4 #C46295
triadic
#C262C4 #C4C262 #62C4C2
tetradic
#C262C4 #C49162 #64C462 #6295C4
square
#C262C4 #C49162 #64C462 #6295C4
split-complementary
#C262C4 #95C462 #62C491
monochromatic
#7B2F7D #A740A9 #C262C4 #D38ED5 #E5BBE5

Accessibility & contrast

On white

3.60
#C262C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#C262C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C4#FFFFFF#000000##000000
##C262C41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#C76D8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c4;
/* rgb */ color: rgb(194, 98, 196);
/* oklch */ color: oklch(64.5% 0.173 326.6);
Tailwind
colors: {
  custom: {
    50: '#d792d6',
    500: '#c262c4',
    950: '#000000',
  },
}
SCSS
$custom: #c262c4;
$custom-light: #d792d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c4",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 298.776,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.17274,
    "h": 326.6
  },
  "luminance": 0.2419
}

Semantic roles & 50–950 ramp

primary
#C262C4
secondary
#AED5AD
accent
#D55355
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C4

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

Preview Lab → · Contrast checker → · Palette generator →

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