#CD88FA#CD88FA

#CD88FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.172 H 310.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CD88FA
RGBrgb(205, 136, 250)
HSLhsl(276, 92%, 76%)
HSVhsv(276, 46%, 98%)
CMYKcmyk(18%, 45.6%, 0%, 2%)
CIE-LABlab(67.64, 46.39, -46.87)
CIE-LCHlch(67.64, 65.94, 314.70°)
OKLaboklab(74.01% 0.1123 -0.1305)
OKLCHoklch(74.01% 0.172 310.7)
XYZxyz(51.2332, 37.4905, 94.9614)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88FA #B5FA88
analogous
#9488FA #CD88FA #FA88EE
triadic
#CD88FA #FACD88 #88FACD
tetradic
#CD88FA #FA9488 #B5FA88 #88EEFA
square
#CD88FA #FA9488 #B5FA88 #88EEFA
split-complementary
#CD88FA #EEFA88 #88FA94
monochromatic
#9C13F5 #B44DF8 #CD88FA #E6C3FC #F3E2FE

Accessibility & contrast

On white

2.47
#CD88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CD88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88FA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88FA#FFFFFF#000000##000000
##CD88FA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#C89AB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd88fa;
/* rgb */ color: rgb(205, 136, 250);
/* oklch */ color: oklch(74.0% 0.172 310.7);
Tailwind
colors: {
  custom: {
    50: '#deacfc',
    500: '#cd88fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd88fa;
$custom-light: #deacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88fa",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 276.316,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.17218,
    "h": 310.7
  },
  "luminance": 0.3749
}

Semantic roles & 50–950 ramp

primary
#CD88FA
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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