#CA3FC7#CA3FC7

#CA3FC7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.229 H 328.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CA3FC7
RGBrgb(202, 63, 199)
HSLhsl(301, 57%, 52%)
HSVhsv(301, 69%, 79%)
CMYKcmyk(0%, 68.8%, 1.5%, 20.8%)
CIE-LABlab(52.10, 69.69, -42.83)
CIE-LCHlch(52.10, 81.79, 328.43°)
OKLaboklab(61.71% 0.1956 -0.1183)
OKLCHoklch(61.71% 0.229 328.8)
XYZxyz(36.4431, 20.2377, 56.0086)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FC7 #3FCA42
analogous
#883FCA #CA3FC7 #CA3F82
triadic
#CA3FC7 #C7CA3F #3FC7CA
tetradic
#CA3FC7 #CA883F #3FCA42 #3F82CA
square
#CA3FC7 #CA883F #3FCA42 #3F82CA
split-complementary
#CA3FC7 #82CA3F #3FCA88
monochromatic
#701F6E #A02C9D #CA3FC7 #D76FD5 #E49FE3

Accessibility & contrast

On white

4.16
#CA3FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CA3FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3FC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3FC7#FFFFFF#000000##000000
##CA3FC71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#6583C3
Tritanopia (blue-blind)
#D1527F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca3fc7;
/* rgb */ color: rgb(202, 63, 199);
/* oklch */ color: oklch(61.7% 0.229 328.8);
Tailwind
colors: {
  custom: {
    50: '#de80d8',
    500: '#ca3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca3fc7;
$custom-light: #de80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3fc7",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 301.295,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.22863,
    "h": 328.8
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#CA3FC7
secondary
#94D195
accent
#E04B48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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