#CA7BF3#CA7BF3

#CA7BF3 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.4% C 0.184 H 313.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF3
RGBrgb(202, 123, 243)
HSLhsl(280, 83%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.9%, 49.4%, 0%, 4.7%)
CIE-LABlab(64.32, 50.91, -48.29)
CIE-LCHlch(64.32, 70.17, 316.51°)
OKLaboklab(71.35% 0.1255 -0.1346)
OKLCHoklch(71.35% 0.184 313)
XYZxyz(47.6150, 33.1947, 88.6756)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF3 #A4F37B
analogous
#8E7BF3 #CA7BF3 #F37BE0
triadic
#CA7BF3 #F3CA7B #7BF3CA
tetradic
#CA7BF3 #F38E7B #A4F37B #7BE0F3
square
#CA7BF3 #F38E7B #A4F37B #7BE0F3
split-complementary
#CA7BF3 #E0F37B #7BF38E
monochromatic
#9A14DF #B343EE #CA7BF3 #E1B3F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.64
#CA7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF3#FFFFFF#000000##000000
##CA7BF31.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#C68EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf3;
/* rgb */ color: rgb(202, 123, 243);
/* oklch */ color: oklch(71.4% 0.184 313.0);
Tailwind
colors: {
  custom: {
    50: '#dca3f7',
    500: '#ca7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf3;
$custom-light: #dca3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf3",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 279.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71354,
    "c": 0.18402,
    "h": 313
  },
  "luminance": 0.33194
}

Semantic roles & 50–950 ramp

primary
#CA7BF3
secondary
#E0F4D6
accent
#E00650
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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