#C262D7#C262D7

#C262D7 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.191 H 320.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#C262D7
RGBrgb(194, 98, 215)
HSLhsl(289, 59%, 61%)
HSVhsv(289, 54%, 84%)
CMYKcmyk(9.8%, 54.4%, 0%, 15.7%)
CIE-LABlab(57.19, 55.71, -44.00)
CIE-LCHlch(57.19, 70.99, 321.70°)
OKLaboklab(65.43% 0.1465 -0.1222)
OKLCHoklch(65.43% 0.191 320.2)
XYZxyz(38.8801, 25.1126, 67.0760)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D7 #77D762
analogous
#8862D7 #C262D7 #D762B2
triadic
#C262D7 #D7C262 #62D7C2
tetradic
#C262D7 #D78862 #77D762 #62B2D7
square
#C262D7 #D78862 #77D762 #62B2D7
split-complementary
#C262D7 #B2D762 #62D788
monochromatic
#842798 #AE33C9 #C262D7 #D593E3 #E8C4F0

Accessibility & contrast

On white

3.49
#C262D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#C262D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D7#FFFFFF#000000##000000
##C262D71.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#6B8DD4
Tritanopia (blue-blind)
#C37393
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d7;
/* rgb */ color: rgb(194, 98, 215);
/* oklch */ color: oklch(65.4% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#d793e4',
    500: '#c262d7',
    950: '#000000',
  },
}
SCSS
$custom: #c262d7;
$custom-light: #d793e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d7",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 289.231,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.19073,
    "h": 320.2
  },
  "luminance": 0.25111
}

Semantic roles & 50–950 ramp

primary
#C262D7
secondary
#BCE0B5
accent
#C71E3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C262D7

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

Preview Lab → · Contrast checker → · Palette generator →

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