#CF8DFF#CF8DFF

#CF8DFF is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.3% C 0.171 H 309.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CF8DFF
RGBrgb(207, 141, 255)
HSLhsl(275, 100%, 78%)
HSVhsv(275, 45%, 100%)
CMYKcmyk(18.8%, 44.7%, 0%, 0%)
CIE-LABlab(69.14, 45.36, -47.23)
CIE-LCHlch(69.14, 65.48, 313.84°)
OKLaboklab(75.25% 0.1086 -0.1315)
OKLCHoklch(75.25% 0.171 309.5)
XYZxyz(53.3036, 39.5359, 99.4115)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DFF #BDFF8D
analogous
#968DFF #CF8DFF #FF8DF6
triadic
#CF8DFF #FFCF8D #8DFFCF
tetradic
#CF8DFF #FF968D #BDFF8D #8DF6FF
square
#CF8DFF #FF968D #BDFF8D #8DF6FF
split-complementary
#CF8DFF #F6FF8D #8DFF96
monochromatic
#9B13FF #B550FF #CF8DFF #E9CAFF #F2E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF8DFF#FFFFFF#000000##000000
##CF8DFF1.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)
#73A6FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#C99FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8dff;
/* rgb */ color: rgb(207, 141, 255);
/* oklch */ color: oklch(75.3% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb0ff',
    500: '#cf8dff',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dff;
$custom-light: #dfb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dff",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 274.737,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.17055,
    "h": 309.5
  },
  "luminance": 0.39535
}

Semantic roles & 50–950 ramp

primary
#CF8DFF
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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