#CA7BF7#CA7BF7

#CA7BF7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.188 H 311.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF7
RGBrgb(202, 123, 247)
HSLhsl(278, 89%, 73%)
HSVhsv(278, 50%, 97%)
CMYKcmyk(18.2%, 50.2%, 0%, 3.1%)
CIE-LABlab(64.51, 51.75, -50.18)
CIE-LCHlch(64.51, 72.09, 315.88°)
OKLaboklab(71.56% 0.1259 -0.1401)
OKLCHoklch(71.56% 0.188 311.9)
XYZxyz(48.2256, 33.4389, 91.8915)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF7 #A8F77B
analogous
#8C7BF7 #CA7BF7 #F77BE6
triadic
#CA7BF7 #F7CA7B #7BF7CA
tetradic
#CA7BF7 #F78C7B #A8F77B #7BE6F7
square
#CA7BF7 #F78C7B #A8F77B #7BE6F7
split-complementary
#CA7BF7 #E6F77B #7BF78C
monochromatic
#9A0EE9 #B341F4 #CA7BF7 #E1B5FA #F3E2FD

Accessibility & contrast

On white

2.73
#CA7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CA7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF7#FFFFFF#000000##000000
##CA7BF71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C58FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf7;
/* rgb */ color: rgb(202, 123, 247);
/* oklch */ color: oklch(71.6% 0.188 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca3fa',
    500: '#ca7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf7;
$custom-light: #dca3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf7",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 278.226,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.18836,
    "h": 311.9
  },
  "luminance": 0.33438
}

Semantic roles & 50–950 ramp

primary
#CA7BF7
secondary
#E1F5D6
accent
#E50053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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