#C262BA#C262BA

#C262BA is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.164 H 330.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C262BA
RGBrgb(194, 98, 186)
HSLhsl(305, 44%, 57%)
HSVhsv(305, 49%, 76%)
CMYKcmyk(0%, 49.5%, 4.1%, 23.9%)
CIE-LABlab(55.84, 50.36, -29.57)
CIE-LCHlch(55.84, 58.40, 329.58°)
OKLaboklab(64% 0.1425 -0.0807)
OKLCHoklch(64% 0.164 330.5)
XYZxyz(35.4784, 23.7520, 49.1607)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262BA #62C26A
analogous
#9A62C2 #C262BA #C2628A
triadic
#C262BA #BAC262 #62BAC2
tetradic
#C262BA #C29A62 #62C26A #628AC2
square
#C262BA #C29A62 #62C26A #628AC2
split-complementary
#C262BA #8AC262 #62C29A
monochromatic
#7A2F74 #A6419E #C262BA #D38ECD #E4BAE1

Accessibility & contrast

On white

3.65
#C262BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C262BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262BA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262BA#FFFFFF#000000##000000
##C262BA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#798BB7
Tritanopia (blue-blind)
#C86A85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c262ba;
/* rgb */ color: rgb(194, 98, 186);
/* oklch */ color: oklch(64.0% 0.164 330.5);
Tailwind
colors: {
  custom: {
    50: '#d692cf',
    500: '#c262ba',
    950: '#000000',
  },
}
SCSS
$custom: #c262ba;
$custom-light: #d692cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c262ba",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 305,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.16376,
    "h": 330.5
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#C262BA
secondary
#ACD3B0
accent
#D45F54
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262BA

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

Preview Lab → · Contrast checker → · Palette generator →

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