#C262B7#C262B7

#C262B7 is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.161 H 331.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C262B7
RGBrgb(194, 98, 183)
HSLhsl(307, 44%, 57%)
HSVhsv(307, 49%, 76%)
CMYKcmyk(0%, 49.5%, 5.7%, 23.9%)
CIE-LABlab(55.71, 49.84, -28.04)
CIE-LCHlch(55.71, 57.19, 330.63°)
OKLaboklab(63.87% 0.1419 -0.0763)
OKLCHoklch(63.87% 0.161 331.7)
XYZxyz(35.1629, 23.6258, 47.4987)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262B7 #62C26D
analogous
#9D62C2 #C262B7 #C26287
triadic
#C262B7 #B7C262 #62B7C2
tetradic
#C262B7 #C29D62 #62C26D #6287C2
square
#C262B7 #C29D62 #62C26D #6287C2
split-complementary
#C262B7 #87C262 #62C29D
monochromatic
#7A2F72 #A6419B #C262B7 #D38ECB #E4BADF

Accessibility & contrast

On white

3.67
#C262B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C262B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262B7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262B7#FFFFFF#000000##000000
##C262B71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#C96984
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c262b7;
/* rgb */ color: rgb(194, 98, 183);
/* oklch */ color: oklch(63.9% 0.161 331.7);
Tailwind
colors: {
  custom: {
    50: '#d692cd',
    500: '#c262b7',
    950: '#000000',
  },
}
SCSS
$custom: #c262b7;
$custom-light: #d692cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c262b7",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 306.875,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.16116,
    "h": 331.7
  },
  "luminance": 0.23624
}

Semantic roles & 50–950 ramp

primary
#C262B7
secondary
#ACD3B1
accent
#D46354
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262B7

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

Preview Lab → · Contrast checker → · Palette generator →

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