#CA7CF1#CA7CF1

#CA7CF1 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.180 H 313.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CA7CF1
RGBrgb(202, 124, 241)
HSLhsl(280, 81%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.2%, 48.5%, 0%, 5.5%)
CIE-LABlab(64.42, 49.97, -47.02)
CIE-LCHlch(64.42, 68.62, 316.74°)
OKLaboklab(71.4% 0.1239 -0.1309)
OKLCHoklch(71.4% 0.18 313.4)
XYZxyz(47.4393, 33.3239, 87.1352)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CF1 #A3F17C
analogous
#907CF1 #CA7CF1 #F17CDE
triadic
#CA7CF1 #F1CA7C #7CF1CA
tetradic
#CA7CF1 #F1907C #A3F17C #7CDEF1
square
#CA7CF1 #F1907C #A3F17C #7CDEF1
split-complementary
#CA7CF1 #DEF17C #7CF190
monochromatic
#9A17DB #B445EB #CA7CF1 #E0B3F7 #F4E3FC

Accessibility & contrast

On white

2.74
#CA7CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CA7CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CF1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CF1#FFFFFF#000000##000000
##CA7CF11.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#C78EAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7cf1;
/* rgb */ color: rgb(202, 124, 241);
/* oklch */ color: oklch(71.4% 0.180 313.4);
Tailwind
colors: {
  custom: {
    50: '#dca4f6',
    500: '#ca7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cf1;
$custom-light: #dca4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cf1",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 280,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.714,
    "c": 0.18026,
    "h": 313.4
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#CA7CF1
secondary
#DFF3D5
accent
#DD084F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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