#CD88F7#CD88F7

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

Color values

HEX#CD88F7
RGBrgb(205, 136, 247)
HSLhsl(277, 87%, 75%)
HSVhsv(277, 45%, 97%)
CMYKcmyk(17%, 44.9%, 0%, 3.1%)
CIE-LABlab(67.50, 45.75, -45.45)
CIE-LCHlch(67.50, 64.49, 315.19°)
OKLaboklab(73.86% 0.1119 -0.1264)
OKLCHoklch(73.86% 0.169 311.5)
XYZxyz(50.7665, 37.3038, 92.5037)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88F7 #B2F788
analogous
#9588F7 #CD88F7 #F788EA
triadic
#CD88F7 #F7CD88 #88F7CD
tetradic
#CD88F7 #F79588 #B2F788 #88EAF7
square
#CD88F7 #F79588 #B2F788 #88EAF7
split-complementary
#CD88F7 #EAF788 #88F795
monochromatic
#9D15EF #B54FF3 #CD88F7 #E5C1FB #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD88F7#FFFFFF#000000##000000
##CD88F71.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)
#70A1FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#C999B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd88f7;
/* rgb */ color: rgb(205, 136, 247);
/* oklch */ color: oklch(73.9% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#deacfa',
    500: '#cd88f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd88f7;
$custom-light: #deacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88f7",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 277.297,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.16879,
    "h": 311.5
  },
  "luminance": 0.37303
}

Semantic roles & 50–950 ramp

primary
#CD88F7
secondary
#E2F5D6
accent
#E40257
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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