#C888F7#C888F7

#C888F7 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.3% C 0.167 H 309.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#C888F7
RGBrgb(200, 136, 247)
HSLhsl(275, 87%, 75%)
HSVhsv(275, 45%, 97%)
CMYKcmyk(19%, 44.9%, 0%, 3.1%)
CIE-LABlab(66.98, 44.36, -46.31)
CIE-LCHlch(66.98, 64.13, 313.77°)
OKLaboklab(73.35% 0.106 -0.129)
OKLCHoklch(73.35% 0.167 309.4)
XYZxyz(49.4089, 36.6038, 92.4400)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C888F7 #B7F788
analogous
#9188F7 #C888F7 #F788EE
triadic
#C888F7 #F7C888 #88F7C8
tetradic
#C888F7 #F79188 #B7F788 #88EEF7
square
#C888F7 #F79188 #B7F788 #88EEF7
split-complementary
#C888F7 #EEF788 #88F791
monochromatic
#9315EF #AD4FF3 #C888F7 #E3C1FB #F2E2FD

Accessibility & contrast

On white

2.52
#C888F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#C888F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C888F7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C888F7#FFFFFF#000000##000000
##C888F71.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#C29AB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c888f7;
/* rgb */ color: rgb(200, 136, 247);
/* oklch */ color: oklch(73.3% 0.167 309.4);
Tailwind
colors: {
  custom: {
    50: '#dbacfa',
    500: '#c888f7',
    950: '#000000',
  },
}
SCSS
$custom: #c888f7;
$custom-light: #dbacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c888f7",
  "rgb": {
    "r": 200,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 274.595,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.16697,
    "h": 309.4
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C888F7

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

Preview Lab → · Contrast checker → · Palette generator →

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