#C262C3#C262C3

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

Color values

HEX#C262C3
RGBrgb(194, 98, 195)
HSLhsl(299, 45%, 57%)
HSVhsv(299, 50%, 76%)
CMYKcmyk(0.5%, 49.7%, 0%, 23.5%)
CIE-LABlab(56.23, 51.96, -34.12)
CIE-LCHlch(56.23, 62.16, 326.71°)
OKLaboklab(64.42% 0.144 -0.0937)
OKLCHoklch(64.42% 0.172 327)
XYZxyz(36.4655, 24.1468, 54.3592)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C3 #63C362
analogous
#9162C3 #C262C3 #C36294
triadic
#C262C3 #C3C262 #62C3C2
tetradic
#C262C3 #C39162 #63C362 #6294C3
square
#C262C3 #C39162 #63C362 #6294C3
split-complementary
#C262C3 #94C362 #62C391
monochromatic
#7B2F7B #A740A8 #C262C3 #D38ED4 #E4BBE5

Accessibility & contrast

On white

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

On black

5.83
#C262C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C3#FFFFFF#000000##000000
##C262C31.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC6
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#C76D8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c3;
/* rgb */ color: rgb(194, 98, 195);
/* oklch */ color: oklch(64.4% 0.172 327.0);
Tailwind
colors: {
  custom: {
    50: '#d792d5',
    500: '#c262c3',
    950: '#000000',
  },
}
SCSS
$custom: #c262c3;
$custom-light: #d792d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c3",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 195
  },
  "hsl": {
    "h": 299.381,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64424,
    "c": 0.17182,
    "h": 327
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#C262C3
secondary
#ADD4AD
accent
#D45355
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C3

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

Preview Lab → · Contrast checker → · Palette generator →

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