#CA7BF9#CA7BF9

#CA7BF9 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.191 H 311.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF9
RGBrgb(202, 123, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.9%, 50.6%, 0%, 2.4%)
CIE-LABlab(64.61, 52.17, -51.13)
CIE-LCHlch(64.61, 73.05, 315.58°)
OKLaboklab(71.67% 0.1261 -0.1428)
OKLCHoklch(71.67% 0.191 311.4)
XYZxyz(48.5359, 33.5630, 93.5257)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF9 #AAF97B
analogous
#8B7BF9 #CA7BF9 #F97BE9
triadic
#CA7BF9 #F9CA7B #7BF9CA
tetradic
#CA7BF9 #F98B7B #AAF97B #7BE9F9
square
#CA7BF9 #F98B7B #AAF97B #7BE9F9
split-complementary
#CA7BF9 #E9F97B #7BF98B
monochromatic
#9A0BEF #B240F6 #CA7BF9 #E2B6FC #F3E2FE

Accessibility & contrast

On white

2.72
#CA7BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CA7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF9#FFFFFF#000000##000000
##CA7BF91.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C590AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7bf9;
/* rgb */ color: rgb(202, 123, 249);
/* oklch */ color: oklch(71.7% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#dda3fc',
    500: '#ca7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf9;
$custom-light: #dda3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf9",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 277.619,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7167,
    "c": 0.19054,
    "h": 311.4
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#CA7BF9
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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