#CA2FC8#CA2FC8

#CA2FC8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.246 H 328.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA2FC8
RGBrgb(202, 47, 200)
HSLhsl(301, 62%, 49%)
HSVhsv(301, 77%, 79%)
CMYKcmyk(0%, 76.7%, 1%, 20.8%)
CIE-LABlab(50.41, 74.85, -46.09)
CIE-LCHlch(50.41, 87.90, 328.37°)
OKLaboklab(60.51% 0.2099 -0.1277)
OKLCHoklch(60.51% 0.246 328.7)
XYZxyz(35.7986, 18.7624, 56.3684)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2FC8 #2FCA31
analogous
#7F2FCA #CA2FC8 #CA2F7B
triadic
#CA2FC8 #C8CA2F #2FC8CA
tetradic
#CA2FC8 #CA7F2F #2FCA31 #2F7BCA
square
#CA2FC8 #CA7F2F #2FCA31 #2F7BCA
split-complementary
#CA2FC8 #7BCA2F #2FCA7F
monochromatic
#671866 #982397 #CA2FC8 #D95DD8 #E58FE4

Accessibility & contrast

On white

4.42
#CA2FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CA2FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2FC8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2FC8#FFFFFF#000000##000000
##CA2FC81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#056BCC
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#D1487B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2fc8;
/* rgb */ color: rgb(202, 47, 200);
/* oklch */ color: oklch(60.5% 0.246 328.7);
Tailwind
colors: {
  custom: {
    50: '#de7ad9',
    500: '#ca2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2fc8;
$custom-light: #de7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2fc8",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 300.774,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.24566,
    "h": 328.7
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#CA2FC8
secondary
#86CF86
accent
#E54542
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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