#CA7ECF#CA7ECF

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

Color values

HEX#CA7ECF
RGBrgb(202, 126, 207)
HSLhsl(296, 46%, 65%)
HSVhsv(296, 39%, 81%)
CMYKcmyk(2.4%, 39.1%, 0%, 18.8%)
CIE-LABlab(63.33, 42.13, -29.81)
CIE-LCHlch(63.33, 51.61, 324.72°)
OKLaboklab(70.09% 0.1153 -0.0815)
OKLCHoklch(70.09% 0.141 324.8)
XYZxyz(43.0794, 31.9850, 62.9239)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ECF #83CF7E
analogous
#A17ECF #CA7ECF #CF7EAC
triadic
#CA7ECF #CFCA7E #7ECFCA
tetradic
#CA7ECF #CFA17E #83CF7E #7EACCF
square
#CA7ECF #CFA17E #83CF7E #7EACCF
split-complementary
#CA7ECF #ACCF7E #7ECFA1
monochromatic
#943999 #B851BE #CA7ECF #DCABE0 #EFD7F0

Accessibility & contrast

On white

2.84
#CA7ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA7ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ECF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ECF#FFFFFF#000000##000000
##CA7ECF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D2
Deuteranopia (green-blind)
#8A9DCC
Tritanopia (blue-blind)
#CE869D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ecf;
/* rgb */ color: rgb(202, 126, 207);
/* oklch */ color: oklch(70.1% 0.141 324.8);
Tailwind
colors: {
  custom: {
    50: '#dba5de',
    500: '#ca7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ecf;
$custom-light: #dba5de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ecf",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 296.296,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.14116,
    "h": 324.8
  },
  "luminance": 0.31983
}

Semantic roles & 50–950 ramp

primary
#CA7ECF
secondary
#C8E2C7
accent
#B92D35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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