#CF8FF5#CF8FF5

#CF8FF5 is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.1% C 0.156 H 312.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF5
RGBrgb(207, 143, 245)
HSLhsl(278, 84%, 76%)
HSVhsv(278, 42%, 96%)
CMYKcmyk(15.5%, 41.6%, 0%, 3.9%)
CIE-LABlab(69.11, 42.15, -41.81)
CIE-LCHlch(69.11, 59.37, 315.23°)
OKLaboklab(75.09% 0.1042 -0.1158)
OKLCHoklch(75.09% 0.156 312)
XYZxyz(52.0332, 39.5038, 91.2524)
Luminance0.3950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF5 #B5F58F
analogous
#9C8FF5 #CF8FF5 #F58FE8
triadic
#CF8FF5 #F5CF8F #8FF5CF
tetradic
#CF8FF5 #F59C8F #B5F58F #8FE8F5
square
#CF8FF5 #F59C8F #B5F58F #8FE8F5
split-complementary
#CF8FF5 #E8F58F #8FF59C
monochromatic
#9F1FEB #B757F0 #CF8FF5 #E7C7FA #F3E3FC

Accessibility & contrast

On white

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

On black

8.90
#CF8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF5#FFFFFF#000000##000000
##CF8FF51.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F9
Deuteranopia (green-blind)
#8BAAF2
Tritanopia (blue-blind)
#CB9EB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ff5;
/* rgb */ color: rgb(207, 143, 245);
/* oklch */ color: oklch(75.1% 0.156 312.0);
Tailwind
colors: {
  custom: {
    50: '#dfb1f9',
    500: '#cf8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff5;
$custom-light: #dfb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff5",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 277.647,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75086,
    "c": 0.15583,
    "h": 312
  },
  "luminance": 0.39503
}

Semantic roles & 50–950 ramp

primary
#CF8FF5
secondary
#E2F4D7
accent
#E00557
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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