#CA7BFA#CA7BFA

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

Color values

HEX#CA7BFA
RGBrgb(202, 123, 250)
HSLhsl(277, 93%, 73%)
HSVhsv(277, 51%, 98%)
CMYKcmyk(19.2%, 50.8%, 0%, 2%)
CIE-LABlab(64.66, 52.39, -51.60)
CIE-LCHlch(64.66, 73.53, 315.44°)
OKLaboklab(71.72% 0.1262 -0.1442)
OKLCHoklch(71.72% 0.192 311.2)
XYZxyz(48.6923, 33.6256, 94.3493)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BFA #ABFA7B
analogous
#8A7BFA #CA7BFA #FA7BEA
triadic
#CA7BFA #FACA7B #7BFACA
tetradic
#CA7BFA #FA8A7B #ABFA7B #7BEAFA
square
#CA7BFA #FA8A7B #ABFA7B #7BEAFA
split-complementary
#CA7BFA #EAFA7B #7BFA8A
monochromatic
#9A09F1 #B240F8 #CA7BFA #E2B6FC #F3E2FE

Accessibility & contrast

On white

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

On black

7.73
#CA7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BFA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BFA#FFFFFF#000000##000000
##CA7BFA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#C590AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7bfa;
/* rgb */ color: rgb(202, 123, 250);
/* oklch */ color: oklch(71.7% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#dda3fc',
    500: '#ca7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bfa;
$custom-light: #dda3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bfa",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 277.323,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.19163,
    "h": 311.2
  },
  "luminance": 0.33625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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