#C262B4#C262B4

#C262B4 is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.7% C 0.159 H 333.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C262B4
RGBrgb(194, 98, 180)
HSLhsl(309, 44%, 57%)
HSVhsv(309, 49%, 76%)
CMYKcmyk(0%, 49.5%, 7.2%, 23.9%)
CIE-LABlab(55.59, 49.32, -26.51)
CIE-LCHlch(55.59, 55.99, 331.75°)
OKLaboklab(63.73% 0.1413 -0.072)
OKLCHoklch(63.73% 0.159 333)
XYZxyz(34.8539, 23.5022, 45.8717)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262B4 #62C270
analogous
#A062C2 #C262B4 #C26284
triadic
#C262B4 #B4C262 #62B4C2
tetradic
#C262B4 #C2A062 #62C270 #6284C2
square
#C262B4 #C2A062 #62C270 #6284C2
split-complementary
#C262B4 #84C262 #62C2A0
monochromatic
#7A2F6F #A64197 #C262B4 #D38EC9 #E4BADE

Accessibility & contrast

On white

3.68
#C262B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C262B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262B4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262B4#FFFFFF#000000##000000
##C262B41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#C96883
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c262b4;
/* rgb */ color: rgb(194, 98, 180);
/* oklch */ color: oklch(63.7% 0.159 333.0);
Tailwind
colors: {
  custom: {
    50: '#d692ca',
    500: '#c262b4',
    950: '#000000',
  },
}
SCSS
$custom: #c262b4;
$custom-light: #d692ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c262b4",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 308.75,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63731,
    "c": 0.15861,
    "h": 333
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

primary
#C262B4
secondary
#ACD3B2
accent
#D46754
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262B4

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

Preview Lab → · Contrast checker → · Palette generator →

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