#CA7FCB#CA7FCB

#CA7FCB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.1% C 0.135 H 326.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CA7FCB
RGBrgb(202, 127, 203)
HSLhsl(299, 42%, 65%)
HSVhsv(299, 37%, 80%)
CMYKcmyk(0.5%, 37.4%, 0%, 20.4%)
CIE-LABlab(63.38, 40.85, -27.49)
CIE-LCHlch(63.38, 49.23, 326.06°)
OKLaboklab(70.08% 0.1129 -0.0749)
OKLCHoklch(70.08% 0.135 326.4)
XYZxyz(42.7251, 32.0489, 60.4238)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FCB #80CB7F
analogous
#A47FCB #CA7FCB #CB7FA6
triadic
#CA7FCB #CBCA7F #7FCBCA
tetradic
#CA7FCB #CBA47F #80CB7F #7FA6CB
square
#CA7FCB #CBA47F #80CB7F #7FA6CB
split-complementary
#CA7FCB #A6CB7F #7FCBA4
monochromatic
#923C94 #B853B9 #CA7FCB #DCABDD #EED6EE

Accessibility & contrast

On white

2.83
#CA7FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CA7FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FCB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FCB#FFFFFF#000000##000000
##CA7FCB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8C9DC8
Tritanopia (blue-blind)
#CE869C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fcb;
/* rgb */ color: rgb(202, 127, 203);
/* oklch */ color: oklch(70.1% 0.135 326.4);
Tailwind
colors: {
  custom: {
    50: '#dba5db',
    500: '#ca7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fcb;
$custom-light: #dba5db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fcb",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 299.211,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.13547,
    "h": 326.4
  },
  "luminance": 0.32047
}

Semantic roles & 50–950 ramp

primary
#CA7FCB
secondary
#C6E0C6
accent
#B53032
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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