#C262C7#C262C7

#C262C7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.6% C 0.175 H 325.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#C262C7
RGBrgb(194, 98, 199)
HSLhsl(297, 47%, 58%)
HSVhsv(297, 51%, 78%)
CMYKcmyk(2.5%, 50.8%, 0%, 22%)
CIE-LABlab(56.42, 52.69, -36.12)
CIE-LCHlch(56.42, 63.88, 325.57°)
OKLaboklab(64.62% 0.1446 -0.0994)
OKLCHoklch(64.62% 0.176 325.5)
XYZxyz(36.9238, 24.3301, 56.7730)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C7 #67C762
analogous
#8F62C7 #C262C7 #C76299
triadic
#C262C7 #C7C262 #62C7C2
tetradic
#C262C7 #C78F62 #67C762 #6299C7
square
#C262C7 #C78F62 #67C762 #6299C7
split-complementary
#C262C7 #99C762 #62C78F
monochromatic
#7D2E81 #A83EAE #C262C7 #D48FD7 #E5BCE7

Accessibility & contrast

On white

3.58
#C262C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#C262C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C7#FFFFFF#000000##000000
##C262C71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#748CC4
Tritanopia (blue-blind)
#C66E8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c7;
/* rgb */ color: rgb(194, 98, 199);
/* oklch */ color: oklch(64.6% 0.175 325.5);
Tailwind
colors: {
  custom: {
    50: '#d792d8',
    500: '#c262c7',
    950: '#000000',
  },
}
SCSS
$custom: #c262c7;
$custom-light: #d792d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c7",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 297.03,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.1755,
    "h": 325.5
  },
  "luminance": 0.24328
}

Semantic roles & 50–950 ramp

primary
#C262C7
secondary
#B0D7AE
accent
#D75157
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C7

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

Preview Lab → · Contrast checker → · Palette generator →

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