#CF88FA#CF88FA

#CF88FA is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.173 H 311.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CF88FA
RGBrgb(207, 136, 250)
HSLhsl(277, 92%, 76%)
HSVhsv(277, 46%, 98%)
CMYKcmyk(17.2%, 45.6%, 0%, 2%)
CIE-LABlab(67.86, 46.94, -46.52)
CIE-LCHlch(67.86, 66.09, 315.25°)
OKLaboklab(74.22% 0.1147 -0.1294)
OKLCHoklch(74.22% 0.173 311.5)
XYZxyz(51.7886, 37.7768, 94.9874)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF88FA #B3FA88
analogous
#9688FA #CF88FA #FA88EC
triadic
#CF88FA #FACF88 #88FACF
tetradic
#CF88FA #FA9688 #B3FA88 #88ECFA
square
#CF88FA #FA9688 #B3FA88 #88ECFA
split-complementary
#CF88FA #ECFA88 #88FA96
monochromatic
#A013F5 #B74DF8 #CF88FA #E7C3FC #F3E2FE

Accessibility & contrast

On white

2.45
#CF88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CF88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF88FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF88FA#FFFFFF#000000##000000
##CF88FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#CA9AB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf88fa;
/* rgb */ color: rgb(207, 136, 250);
/* oklch */ color: oklch(74.2% 0.173 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0acfc',
    500: '#cf88fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf88fa;
$custom-light: #e0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf88fa",
  "rgb": {
    "r": 207,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 277.368,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.17292,
    "h": 311.5
  },
  "luminance": 0.37776
}

Semantic roles & 50–950 ramp

primary
#CF88FA
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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