#CF88F8#CF88F8

#CF88F8 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.1% C 0.171 H 312.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CF88F8
RGBrgb(207, 136, 248)
HSLhsl(278, 89%, 75%)
HSVhsv(278, 45%, 97%)
CMYKcmyk(16.5%, 45.2%, 0%, 2.7%)
CIE-LABlab(67.76, 46.51, -45.57)
CIE-LCHlch(67.76, 65.12, 315.58°)
OKLaboklab(74.12% 0.1144 -0.1267)
OKLCHoklch(74.12% 0.171 312.1)
XYZxyz(51.4766, 37.6521, 93.3446)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF88F8 #B1F888
analogous
#9788F8 #CF88F8 #F888E9
triadic
#CF88F8 #F8CF88 #88F8CF
tetradic
#CF88F8 #F89788 #B1F888 #88E9F8
square
#CF88F8 #F89788 #B1F888 #88E9F8
split-complementary
#CF88F8 #E9F888 #88F897
monochromatic
#A014F1 #B84EF5 #CF88F8 #E6C2FB #F3E2FD

Accessibility & contrast

On white

2.46
#CF88F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CF88F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF88F8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF88F8#FFFFFF#000000##000000
##CF88F81.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#CB99B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf88f8;
/* rgb */ color: rgb(207, 136, 248);
/* oklch */ color: oklch(74.1% 0.171 312.1);
Tailwind
colors: {
  custom: {
    50: '#dfacfb',
    500: '#cf88f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf88f8;
$custom-light: #dfacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf88f8",
  "rgb": {
    "r": 207,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 278.036,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.17068,
    "h": 312.1
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF88F8

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

Preview Lab → · Contrast checker → · Palette generator →

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