#CA88F7#CA88F7

#CA88F7 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.6% C 0.168 H 310.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CA88F7
RGBrgb(202, 136, 247)
HSLhsl(276, 87%, 75%)
HSVhsv(276, 45%, 97%)
CMYKcmyk(18.2%, 44.9%, 0%, 3.1%)
CIE-LABlab(67.19, 44.92, -45.97)
CIE-LCHlch(67.19, 64.27, 314.34°)
OKLaboklab(73.55% 0.1084 -0.1279)
OKLCHoklch(73.55% 0.168 310.3)
XYZxyz(49.9467, 36.8811, 92.4652)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88F7 #B5F788
analogous
#9388F7 #CA88F7 #F788EC
triadic
#CA88F7 #F7CA88 #88F7CA
tetradic
#CA88F7 #F79388 #B5F788 #88ECF7
square
#CA88F7 #F79388 #B5F788 #88ECF7
split-complementary
#CA88F7 #ECF788 #88F793
monochromatic
#9715EF #B04FF3 #CA88F7 #E4C1FB #F2E2FD

Accessibility & contrast

On white

2.51
#CA88F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CA88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88F7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88F7#FFFFFF#000000##000000
##CA88F71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#C599B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca88f7;
/* rgb */ color: rgb(202, 136, 247);
/* oklch */ color: oklch(73.6% 0.168 310.3);
Tailwind
colors: {
  custom: {
    50: '#dcacfa',
    500: '#ca88f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca88f7;
$custom-light: #dcacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88f7",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 275.676,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.16767,
    "h": 310.3
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

primary
#CA88F7
secondary
#E3F5D6
accent
#E4025D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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