#CA89FB#CA89FB

#CA89FB is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.9% C 0.171 H 309.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CA89FB
RGBrgb(202, 137, 251)
HSLhsl(274, 93%, 76%)
HSVhsv(274, 45%, 98%)
CMYKcmyk(19.5%, 45.4%, 0%, 1.6%)
CIE-LABlab(67.59, 45.25, -47.53)
CIE-LCHlch(67.59, 65.62, 313.59°)
OKLaboklab(73.91% 0.1076 -0.1325)
OKLCHoklch(73.91% 0.171 309.1)
XYZxyz(50.7121, 37.4136, 95.7981)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89FB #BAFB89
analogous
#9189FB #CA89FB #FB89F3
triadic
#CA89FB #FBCA89 #89FBCA
tetradic
#CA89FB #FB9189 #BAFB89 #89F3FB
square
#CA89FB #FB9189 #BAFB89 #89F3FB
split-complementary
#CA89FB #F3FB89 #89FB91
monochromatic
#9513F7 #AF4EF9 #CA89FB #E5C4FD #F2E1FE

Accessibility & contrast

On white

2.48
#CA89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CA89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89FB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89FB#FFFFFF#000000##000000
##CA89FB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#C49BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca89fb;
/* rgb */ color: rgb(202, 137, 251);
/* oklch */ color: oklch(73.9% 0.171 309.1);
Tailwind
colors: {
  custom: {
    50: '#dcadfd',
    500: '#ca89fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca89fb;
$custom-light: #dcadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89fb",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 274.211,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.17066,
    "h": 309.1
  },
  "luminance": 0.37413
}

Semantic roles & 50–950 ramp

primary
#CA89FB
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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