#CA88FC#CA88FC

#CA88FC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.8% C 0.173 H 309.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CA88FC
RGBrgb(202, 136, 252)
HSLhsl(274, 95%, 76%)
HSVhsv(274, 46%, 99%)
CMYKcmyk(19.8%, 46%, 0%, 1.2%)
CIE-LABlab(67.42, 46.00, -48.34)
CIE-LCHlch(67.42, 66.73, 313.58°)
OKLaboklab(73.8% 0.1091 -0.1348)
OKLCHoklch(73.8% 0.173 309)
XYZxyz(50.7286, 37.1938, 96.5833)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88FC #BAFC88
analogous
#9088FC #CA88FC #FC88F4
triadic
#CA88FC #FCCA88 #88FCCA
tetradic
#CA88FC #FC9088 #BAFC88 #88F4FC
square
#CA88FC #FC9088 #BAFC88 #88F4FC
split-complementary
#CA88FC #F4FC88 #88FC90
monochromatic
#9511F9 #AF4CFA #CA88FC #E5C4FE #F2E1FE

Accessibility & contrast

On white

2.49
#CA88FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CA88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88FC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88FC#FFFFFF#000000##000000
##CA88FC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#C39BB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca88fc;
/* rgb */ color: rgb(202, 136, 252);
/* oklch */ color: oklch(73.8% 0.173 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcacfe',
    500: '#ca88fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca88fc;
$custom-light: #dcacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88fc",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 274.138,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73805,
    "c": 0.1734,
    "h": 309
  },
  "luminance": 0.37193
}

Semantic roles & 50–950 ramp

primary
#CA88FC
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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