#CA7BF0#CA7BF0

#CA7BF0 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.181 H 313.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF0
RGBrgb(202, 123, 240)
HSLhsl(281, 80%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.8%, 48.7%, 0%, 5.9%)
CIE-LABlab(64.17, 50.28, -46.87)
CIE-LCHlch(64.17, 68.73, 317.01°)
OKLaboklab(71.2% 0.1251 -0.1305)
OKLCHoklch(71.2% 0.181 313.8)
XYZxyz(47.1657, 33.0149, 86.3091)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF0 #A1F07B
analogous
#8F7BF0 #CA7BF0 #F07BDB
triadic
#CA7BF0 #F0CA7B #7BF0CA
tetradic
#CA7BF0 #F08F7B #A1F07B #7BDBF0
square
#CA7BF0 #F08F7B #A1F07B #7BDBF0
split-complementary
#CA7BF0 #DBF07B #7BF08F
monochromatic
#9A19D8 #B444EA #CA7BF0 #E0B2F6 #F4E4FC

Accessibility & contrast

On white

2.76
#CA7BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CA7BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF0#FFFFFF#000000##000000
##CA7BF01.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F4
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#C78DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf0;
/* rgb */ color: rgb(202, 123, 240);
/* oklch */ color: oklch(71.2% 0.181 313.8);
Tailwind
colors: {
  custom: {
    50: '#dca3f5',
    500: '#ca7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf0;
$custom-light: #dca3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf0",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 280.513,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.18078,
    "h": 313.8
  },
  "luminance": 0.33014
}

Semantic roles & 50–950 ramp

primary
#CA7BF0
secondary
#DEF3D4
accent
#DC0A4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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