#CA7CF7#CA7CF7

#CA7CF7 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.187 H 311.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CA7CF7
RGBrgb(202, 124, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.2%, 49.8%, 0%, 3.1%)
CIE-LABlab(64.71, 51.23, -49.87)
CIE-LCHlch(64.71, 71.50, 315.77°)
OKLaboklab(71.71% 0.1246 -0.1392)
OKLCHoklch(71.71% 0.187 311.8)
XYZxyz(48.3503, 33.6883, 91.9331)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CF7 #A9F77C
analogous
#8D7CF7 #CA7CF7 #F77CE6
triadic
#CA7CF7 #F7CA7C #7CF7CA
tetradic
#CA7CF7 #F78D7C #A9F77C #7CE6F7
square
#CA7CF7 #F78D7C #A9F77C #7CE6F7
split-complementary
#CA7CF7 #E6F77C #7CF78D
monochromatic
#9A0EEA #B342F3 #CA7CF7 #E1B6FB #F3E2FD

Accessibility & contrast

On white

2.71
#CA7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CA7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CF7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CF7#FFFFFF#000000##000000
##CA7CF71.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#C590AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7cf7;
/* rgb */ color: rgb(202, 124, 247);
/* oklch */ color: oklch(71.7% 0.187 311.8);
Tailwind
colors: {
  custom: {
    50: '#dca4fa',
    500: '#ca7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cf7;
$custom-light: #dca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cf7",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 278.049,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.18679,
    "h": 311.8
  },
  "luminance": 0.33687
}

Semantic roles & 50–950 ramp

primary
#CA7CF7
secondary
#E1F5D6
accent
#E50054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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