#C262B9#C262B9

#C262B9 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.163 H 330.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C262B9
RGBrgb(194, 98, 185)
HSLhsl(306, 44%, 57%)
HSVhsv(306, 49%, 76%)
CMYKcmyk(0%, 49.5%, 4.6%, 23.9%)
CIE-LABlab(55.80, 50.18, -29.06)
CIE-LCHlch(55.80, 57.99, 329.92°)
OKLaboklab(63.96% 0.1423 -0.0792)
OKLCHoklch(63.96% 0.163 330.9)
XYZxyz(35.3725, 23.7096, 48.6028)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262B9 #62C26B
analogous
#9B62C2 #C262B9 #C26289
triadic
#C262B9 #B9C262 #62B9C2
tetradic
#C262B9 #C29B62 #62C26B #6289C2
square
#C262B9 #C29B62 #62C26B #6289C2
split-complementary
#C262B9 #89C262 #62C29B
monochromatic
#7A2F73 #A6419D #C262B9 #D38ECD #E4BAE0

Accessibility & contrast

On white

3.66
#C262B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C262B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262B9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262B9#FFFFFF#000000##000000
##C262B91.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBC
Deuteranopia (green-blind)
#798BB6
Tritanopia (blue-blind)
#C96A85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c262b9;
/* rgb */ color: rgb(194, 98, 185);
/* oklch */ color: oklch(64.0% 0.163 330.9);
Tailwind
colors: {
  custom: {
    50: '#d692ce',
    500: '#c262b9',
    950: '#000000',
  },
}
SCSS
$custom: #c262b9;
$custom-light: #d692ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c262b9",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 185
  },
  "hsl": {
    "h": 305.625,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.16289,
    "h": 330.9
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#C262B9
secondary
#ACD3B0
accent
#D46054
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262B9

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

Preview Lab → · Contrast checker → · Palette generator →

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