#CF88F7#CF88F7

#CF88F7 is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.1% C 0.170 H 312.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CF88F7
RGBrgb(207, 136, 247)
HSLhsl(278, 87%, 75%)
HSVhsv(278, 45%, 97%)
CMYKcmyk(16.2%, 44.9%, 0%, 3.1%)
CIE-LABlab(67.72, 46.30, -45.10)
CIE-LCHlch(67.72, 64.64, 315.75°)
OKLaboklab(74.07% 0.1142 -0.1253)
OKLCHoklch(74.07% 0.17 312.4)
XYZxyz(51.3219, 37.5902, 92.5297)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF88F7 #B0F788
analogous
#9788F7 #CF88F7 #F788E8
triadic
#CF88F7 #F7CF88 #88F7CF
tetradic
#CF88F7 #F79788 #B0F788 #88E8F7
square
#CF88F7 #F79788 #B0F788 #88E8F7
split-complementary
#CF88F7 #E8F788 #88F797
monochromatic
#A115EF #B84FF3 #CF88F7 #E6C1FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.52
#CF88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF88F7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF88F7#FFFFFF#000000##000000
##CF88F71.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#CB99B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf88f7;
/* rgb */ color: rgb(207, 136, 247);
/* oklch */ color: oklch(74.1% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#dfacfa',
    500: '#cf88f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf88f7;
$custom-light: #dfacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf88f7",
  "rgb": {
    "r": 207,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 278.378,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.16956,
    "h": 312.4
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#CF88F7
secondary
#E1F5D6
accent
#E40253
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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