#CF8FF6#CF8FF6

#CF8FF6 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.157 H 311.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF6
RGBrgb(207, 143, 246)
HSLhsl(277, 85%, 76%)
HSVhsv(277, 42%, 96%)
CMYKcmyk(15.9%, 41.9%, 0%, 3.5%)
CIE-LABlab(69.16, 42.36, -42.29)
CIE-LCHlch(69.16, 59.86, 315.05°)
OKLaboklab(75.13% 0.1044 -0.1172)
OKLCHoklch(75.13% 0.157 311.7)
XYZxyz(52.1862, 39.5651, 92.0586)
Luminance0.3956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF6 #B6F68F
analogous
#9C8FF6 #CF8FF6 #F68FE9
triadic
#CF8FF6 #F6CF8F #8FF6CF
tetradic
#CF8FF6 #F69C8F #B6F68F #8FE9F6
square
#CF8FF6 #F69C8F #B6F68F #8FE9F6
split-complementary
#CF8FF6 #E9F68F #8FF69C
monochromatic
#9E1EED #B756F1 #CF8FF6 #E7C8FB #F3E3FD

Accessibility & contrast

On white

2.36
#CF8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CF8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF6#FFFFFF#000000##000000
##CF8FF61.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#CB9EB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ff6;
/* rgb */ color: rgb(207, 143, 246);
/* oklch */ color: oklch(75.1% 0.157 311.7);
Tailwind
colors: {
  custom: {
    50: '#dfb1f9',
    500: '#cf8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff6;
$custom-light: #dfb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff6",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 277.282,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75133,
    "c": 0.15698,
    "h": 311.7
  },
  "luminance": 0.39564
}

Semantic roles & 50–950 ramp

primary
#CF8FF6
secondary
#E2F5D6
accent
#E20458
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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