#CA7BEC#CA7BEC

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

Color values

HEX#CA7BEC
RGBrgb(202, 123, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.4%, 47.9%, 0%, 7.5%)
CIE-LABlab(63.98, 49.45, -44.96)
CIE-LCHlch(63.98, 66.83, 317.73°)
OKLaboklab(70.99% 0.1246 -0.1249)
OKLCHoklch(70.99% 0.176 314.9)
XYZxyz(46.5780, 32.7799, 83.2141)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BEC #9DEC7B
analogous
#917BEC #CA7BEC #EC7BD5
triadic
#CA7BEC #ECCA7B #7BECCA
tetradic
#CA7BEC #EC917B #9DEC7B #7BD5EC
square
#CA7BEC #EC917B #9DEC7B #7BD5EC
split-complementary
#CA7BEC #D5EC7B #7BEC91
monochromatic
#9A1ECF #B546E4 #CA7BEC #DFB0F4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.56
#CA7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BEC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BEC#FFFFFF#000000##000000
##CA7BEC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C88CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7bec;
/* rgb */ color: rgb(202, 123, 236);
/* oklch */ color: oklch(71.0% 0.176 314.9);
Tailwind
colors: {
  custom: {
    50: '#dca3f2',
    500: '#ca7bec',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bec;
$custom-light: #dca3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bec",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 281.947,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.17647,
    "h": 314.9
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#CA7BEC
secondary
#DBF1D2
accent
#D70F4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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