#CA7BF5#CA7BF5

#CA7BF5 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.186 H 312.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF5
RGBrgb(202, 123, 245)
HSLhsl(279, 86%, 72%)
HSVhsv(279, 50%, 96%)
CMYKcmyk(17.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(64.42, 51.33, -49.24)
CIE-LCHlch(64.42, 71.13, 316.19°)
OKLaboklab(71.46% 0.1257 -0.1374)
OKLCHoklch(71.46% 0.186 312.5)
XYZxyz(47.9187, 33.3161, 90.2749)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF5 #A6F57B
analogous
#8D7BF5 #CA7BF5 #F57BE3
triadic
#CA7BF5 #F5CA7B #7BF5CA
tetradic
#CA7BF5 #F58D7B #A6F57B #7BE3F5
square
#CA7BF5 #F58D7B #A6F57B #7BE3F5
split-complementary
#CA7BF5 #E3F57B #7BF58D
monochromatic
#9A11E4 #B342F1 #CA7BF5 #E1B4F9 #F4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7BF5#FFFFFF#000000##000000
##CA7BF51.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)
#5E98F9
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#C68FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf5;
/* rgb */ color: rgb(202, 123, 245);
/* oklch */ color: oklch(71.5% 0.186 312.5);
Tailwind
colors: {
  custom: {
    50: '#dca3f9',
    500: '#ca7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf5;
$custom-light: #dca3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf5",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 278.852,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71458,
    "c": 0.18619,
    "h": 312.5
  },
  "luminance": 0.33315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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