#CA7BFC#CA7BFC

#CA7BFC is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.194 H 310.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CA7BFC
RGBrgb(202, 123, 252)
HSLhsl(277, 96%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.8%, 51.2%, 0%, 1.2%)
CIE-LABlab(64.77, 52.81, -52.54)
CIE-LCHlch(64.77, 74.49, 315.15°)
OKLaboklab(71.83% 0.1264 -0.1469)
OKLCHoklch(71.83% 0.194 310.7)
XYZxyz(49.0075, 33.7517, 96.0096)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BFC #ADFC7B
analogous
#897BFC #CA7BFC #FC7BEE
triadic
#CA7BFC #FCCA7B #7BFCCA
tetradic
#CA7BFC #FC897B #ADFC7B #7BEEFC
square
#CA7BFC #FC897B #ADFC7B #7BEEFC
split-complementary
#CA7BFC #EEFC7B #7BFC89
monochromatic
#9906F7 #B23FFB #CA7BFC #E2B7FD #F3E1FE

Accessibility & contrast

On white

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

On black

7.75
#CA7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BFC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BFC#FFFFFF#000000##000000
##CA7BFC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#C491B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7bfc;
/* rgb */ color: rgb(202, 123, 252);
/* oklch */ color: oklch(71.8% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#dda3fe',
    500: '#ca7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bfc;
$custom-light: #dda3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bfc",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 276.744,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7183,
    "c": 0.19381,
    "h": 310.7
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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