#CA8BF0#CA8BF0

#CA8BF0 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.7% C 0.155 H 311.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF0
RGBrgb(202, 139, 240)
HSLhsl(277, 77%, 74%)
HSVhsv(277, 42%, 94%)
CMYKcmyk(15.8%, 42.1%, 0%, 5.9%)
CIE-LABlab(67.51, 41.81, -41.62)
CIE-LCHlch(67.51, 58.99, 315.13°)
OKLaboklab(73.69% 0.1031 -0.1154)
OKLCHoklch(73.69% 0.155 311.8)
XYZxyz(49.3152, 37.3140, 87.0256)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF0 #B1F08B
analogous
#988BF0 #CA8BF0 #F08BE3
triadic
#CA8BF0 #F0CA8B #8BF0CA
tetradic
#CA8BF0 #F0988B #B1F08B #8BE3F0
square
#CA8BF0 #F0988B #B1F08B #8BE3F0
split-complementary
#CA8BF0 #E3F08B #8BF098
monochromatic
#981FE2 #B155E9 #CA8BF0 #E3C1F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.46
#CA8BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF0#FFFFFF#000000##000000
##CA8BF01.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F4
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#C69AB2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8bf0;
/* rgb */ color: rgb(202, 139, 240);
/* oklch */ color: oklch(73.7% 0.155 311.8);
Tailwind
colors: {
  custom: {
    50: '#dcaef5',
    500: '#ca8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf0;
$custom-light: #dcaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf0",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 277.426,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73692,
    "c": 0.15474,
    "h": 311.8
  },
  "luminance": 0.37313
}

Semantic roles & 50–950 ramp

primary
#CA8BF0
secondary
#E2F3D8
accent
#D90C59
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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