#CA7BED#CA7BED

#CA7BED is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.178 H 314.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CA7BED
RGBrgb(202, 123, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.03, 49.66, -45.43)
CIE-LCHlch(64.03, 67.31, 317.54°)
OKLaboklab(71.05% 0.1248 -0.1263)
OKLCHoklch(71.05% 0.178 314.6)
XYZxyz(46.7237, 32.8381, 83.9814)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BED #9EED7B
analogous
#917BED #CA7BED #ED7BD7
triadic
#CA7BED #EDCA7B #7BEDCA
tetradic
#CA7BED #ED917B #9EED7B #7BD7ED
square
#CA7BED #ED917B #9EED7B #7BD7ED
split-complementary
#CA7BED #D7ED7B #7BED91
monochromatic
#9A1DD1 #B445E6 #CA7BED #E0B1F4 #F4E4FB

Accessibility & contrast

On white

2.78
#CA7BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CA7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BED
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BED#FFFFFF#000000##000000
##CA7BED1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#C88CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7bed;
/* rgb */ color: rgb(202, 123, 237);
/* oklch */ color: oklch(71.0% 0.178 314.6);
Tailwind
colors: {
  custom: {
    50: '#dca3f3',
    500: '#ca7bed',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bed;
$custom-light: #dca3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bed",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 281.579,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71046,
    "c": 0.17754,
    "h": 314.6
  },
  "luminance": 0.32837
}

Semantic roles & 50–950 ramp

primary
#CA7BED
secondary
#DCF1D2
accent
#D80D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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