#CA7BFD#CA7BFD

#CA7BFD is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.9% C 0.195 H 310.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CA7BFD
RGBrgb(202, 123, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 51%, 99%)
CMYKcmyk(20.2%, 51.4%, 0%, 0.8%)
CIE-LABlab(64.82, 53.03, -53.00)
CIE-LCHlch(64.82, 74.98, 315.01°)
OKLaboklab(71.88% 0.1264 -0.1483)
OKLCHoklch(71.88% 0.195 310.4)
XYZxyz(49.1664, 33.8152, 96.8464)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BFD #AEFD7B
analogous
#897BFD #CA7BFD #FD7BEF
triadic
#CA7BFD #FDCA7B #7BFDCA
tetradic
#CA7BFD #FD897B #AEFD7B #7BEFFD
square
#CA7BFD #FD897B #AEFD7B #7BEFFD
split-complementary
#CA7BFD #EFFD7B #7BFD89
monochromatic
#9904FA #B23FFC #CA7BFD #E2B7FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.76
#CA7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BFD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BFD#FFFFFF#000000##000000
##CA7BFD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#C491B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7bfd;
/* rgb */ color: rgb(202, 123, 253);
/* oklch */ color: oklch(71.9% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#dda3fe',
    500: '#ca7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bfd;
$custom-light: #dda3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bfd",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 276.462,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71884,
    "c": 0.1949,
    "h": 310.4
  },
  "luminance": 0.33814
}

Semantic roles & 50–950 ramp

primary
#CA7BFD
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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