#CF8CFD#CF8CFD

#CF8CFD is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.170 H 310.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CF8CFD
RGBrgb(207, 140, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 45%, 99%)
CMYKcmyk(18.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.83, 45.46, -46.62)
CIE-LCHlch(68.83, 65.11, 314.27°)
OKLaboklab(74.99% 0.1097 -0.1297)
OKLCHoklch(74.99% 0.17 310.2)
XYZxyz(52.8366, 39.1143, 97.6758)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CFD #BAFD8C
analogous
#978CFD #CF8CFD #FD8CF3
triadic
#CF8CFD #FDCF8C #8CFDCF
tetradic
#CF8CFD #FD978C #BAFD8C #8CF3FD
square
#CF8CFD #FD978C #BAFD8C #8CF3FD
split-complementary
#CF8CFD #F3FD8C #8CFD97
monochromatic
#9D14FB #B650FC #CF8CFD #E8C8FE #F2E1FE

Accessibility & contrast

On white

2.38
#CF8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CF8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CFD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CFD#FFFFFF#000000##000000
##CF8CFD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#CA9EB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8cfd;
/* rgb */ color: rgb(207, 140, 253);
/* oklch */ color: oklch(75.0% 0.170 310.2);
Tailwind
colors: {
  custom: {
    50: '#dfaffe',
    500: '#cf8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cfd;
$custom-light: #dfaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cfd",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 275.575,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74993,
    "c": 0.16987,
    "h": 310.2
  },
  "luminance": 0.39113
}

Semantic roles & 50–950 ramp

primary
#CF8CFD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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