#CA7CF2#CA7CF2

#CA7CF2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.181 H 313.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CA7CF2
RGBrgb(202, 124, 242)
HSLhsl(280, 82%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(64.47, 50.18, -47.50)
CIE-LCHlch(64.47, 69.09, 316.57°)
OKLaboklab(71.45% 0.124 -0.1323)
OKLCHoklch(71.45% 0.181 313.1)
XYZxyz(47.5891, 33.3838, 87.9240)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CF2 #A4F27C
analogous
#8F7CF2 #CA7CF2 #F27CDF
triadic
#CA7CF2 #F2CA7C #7CF2CA
tetradic
#CA7CF2 #F28F7C #A4F27C #7CDFF2
square
#CA7CF2 #F28F7C #A4F27C #7CDFF2
split-complementary
#CA7CF2 #DFF27C #7CF28F
monochromatic
#9A16DE #B344EC #CA7CF2 #E1B4F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.68
#CA7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CF2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CF2#FFFFFF#000000##000000
##CA7CF21.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C68EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7cf2;
/* rgb */ color: rgb(202, 124, 242);
/* oklch */ color: oklch(71.5% 0.181 313.1);
Tailwind
colors: {
  custom: {
    50: '#dca4f7',
    500: '#ca7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cf2;
$custom-light: #dca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cf2",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 279.661,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.18135,
    "h": 313.1
  },
  "luminance": 0.33383
}

Semantic roles & 50–950 ramp

primary
#CA7CF2
secondary
#E0F4D6
accent
#DE0750
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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