#CF8FF8#CF8FF8

#CF8FF8 is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.159 H 311.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF8
RGBrgb(207, 143, 248)
HSLhsl(277, 88%, 77%)
HSVhsv(277, 42%, 97%)
CMYKcmyk(16.5%, 42.3%, 0%, 2.7%)
CIE-LABlab(69.25, 42.79, -43.25)
CIE-LCHlch(69.25, 60.84, 314.69°)
OKLaboklab(75.23% 0.1047 -0.12)
OKLCHoklch(75.23% 0.159 311.1)
XYZxyz(52.4949, 39.6885, 93.6840)
Luminance0.3969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF8 #B8F88F
analogous
#9B8FF8 #CF8FF8 #F88FED
triadic
#CF8FF8 #F8CF8F #8FF8CF
tetradic
#CF8FF8 #F89B8F #B8F88F #8FEDF8
square
#CF8FF8 #F89B8F #B8F88F #8FEDF8
split-complementary
#CF8FF8 #EDF88F #8FF89B
monochromatic
#9E1CF1 #B655F4 #CF8FF8 #E8C9FC #F3E2FD

Accessibility & contrast

On white

2.35
#CF8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CF8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF8#FFFFFF#000000##000000
##CF8FF81.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#CB9FB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ff8;
/* rgb */ color: rgb(207, 143, 248);
/* oklch */ color: oklch(75.2% 0.159 311.1);
Tailwind
colors: {
  custom: {
    50: '#dfb1fb',
    500: '#cf8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff8;
$custom-light: #dfb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff8",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 276.571,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75229,
    "c": 0.15927,
    "h": 311.1
  },
  "luminance": 0.39688
}

Semantic roles & 50–950 ramp

primary
#CF8FF8
secondary
#E2F5D6
accent
#E5015A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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