#CA7BF2#CA7BF2

#CA7BF2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.183 H 313.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF2
RGBrgb(202, 123, 242)
HSLhsl(280, 82%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.5%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.27, 50.70, -47.82)
CIE-LCHlch(64.27, 69.69, 316.67°)
OKLaboklab(71.3% 0.1254 -0.1332)
OKLCHoklch(71.3% 0.183 313.3)
XYZxyz(47.4644, 33.1344, 87.8824)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF2 #A3F27B
analogous
#8F7BF2 #CA7BF2 #F27BDF
triadic
#CA7BF2 #F2CA7B #7BF2CA
tetradic
#CA7BF2 #F28F7B #A3F27B #7BDFF2
square
#CA7BF2 #F28F7B #A3F27B #7BDFF2
split-complementary
#CA7BF2 #DFF27B #7BF28F
monochromatic
#9A16DD #B443ED #CA7BF2 #E0B3F7 #F4E3FC

Accessibility & contrast

On white

2.75
#CA7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CA7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF2#FFFFFF#000000##000000
##CA7BF21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C68EAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf2;
/* rgb */ color: rgb(202, 123, 242);
/* oklch */ color: oklch(71.3% 0.183 313.3);
Tailwind
colors: {
  custom: {
    50: '#dca3f7',
    500: '#ca7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf2;
$custom-light: #dca3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf2",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 279.832,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.18294,
    "h": 313.3
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

primary
#CA7BF2
secondary
#DFF4D5
accent
#DE074F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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