#CA7BCE#CA7BCE

#CA7BCE is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.6% C 0.145 H 325.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CA7BCE
RGBrgb(202, 123, 206)
HSLhsl(297, 46%, 65%)
HSVhsv(297, 40%, 81%)
CMYKcmyk(1.9%, 40.3%, 0%, 19.2%)
CIE-LABlab(62.66, 43.53, -30.29)
CIE-LCHlch(62.66, 53.03, 325.17°)
OKLaboklab(69.58% 0.1195 -0.0828)
OKLCHoklch(69.58% 0.145 325.3)
XYZxyz(42.5797, 31.1805, 62.1561)
Luminance0.3118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BCE #7FCE7B
analogous
#A07BCE #CA7BCE #CE7BA9
triadic
#CA7BCE #CECA7B #7BCECA
tetradic
#CA7BCE #CEA07B #7FCE7B #7BA9CE
square
#CA7BCE #CEA07B #7FCE7B #7BA9CE
split-complementary
#CA7BCE #A9CE7B #7BCEA0
monochromatic
#923897 #B84EBD #CA7BCE #DCA8DF #EED4EF

Accessibility & contrast

On white

2.90
#CA7BCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CA7BCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BCE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BCE#FFFFFF#000000##000000
##CA7BCE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#CE849B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7bce;
/* rgb */ color: rgb(202, 123, 206);
/* oklch */ color: oklch(69.6% 0.145 325.3);
Tailwind
colors: {
  custom: {
    50: '#dba3dd',
    500: '#ca7bce',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bce;
$custom-light: #dba3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bce",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 297.108,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.14537,
    "h": 325.3
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#CA7BCE
secondary
#C5E1C4
accent
#B92C33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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