#C262D3#C262D3

#C262D3 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.187 H 321.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C262D3
RGBrgb(194, 98, 211)
HSLhsl(291, 56%, 61%)
HSVhsv(291, 54%, 83%)
CMYKcmyk(8.1%, 53.6%, 0%, 17.3%)
CIE-LABlab(56.99, 54.94, -42.04)
CIE-LCHlch(56.99, 69.18, 322.57°)
OKLaboklab(65.22% 0.1461 -0.1165)
OKLCHoklch(65.22% 0.187 321.4)
XYZxyz(38.3724, 24.9096, 64.4022)
Luminance0.2491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D3 #73D362
analogous
#8962D3 #C262D3 #D362AC
triadic
#C262D3 #D3C262 #62D3C2
tetradic
#C262D3 #D38962 #73D362 #62ACD3
square
#C262D3 #D38962 #73D362 #62ACD3
split-complementary
#C262D3 #ACD362 #62D389
monochromatic
#822992 #AD36C2 #C262D3 #D592E0 #E7C2EE

Accessibility & contrast

On white

3.51
#C262D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C262D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D3#FFFFFF#000000##000000
##C262D31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D7
Deuteranopia (green-blind)
#6E8CD0
Tritanopia (blue-blind)
#C47291
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d3;
/* rgb */ color: rgb(194, 98, 211);
/* oklch */ color: oklch(65.2% 0.187 321.4);
Tailwind
colors: {
  custom: {
    50: '#d793e1',
    500: '#c262d3',
    950: '#000000',
  },
}
SCSS
$custom: #c262d3;
$custom-light: #d793e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d3",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 211
  },
  "hsl": {
    "h": 290.973,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.18687,
    "h": 321.4
  },
  "luminance": 0.24908
}

Semantic roles & 50–950 ramp

primary
#C262D3
secondary
#B9DEB3
accent
#C4223A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262D3

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

Preview Lab → · Contrast checker → · Palette generator →

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