#CF8EFF#CF8EFF

#CF8EFF is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.169 H 309.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFF
RGBrgb(207, 142, 255)
HSLhsl(275, 100%, 78%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.8%, 44.3%, 0%, 0%)
CIE-LABlab(69.35, 44.82, -46.90)
CIE-LCHlch(69.35, 64.88, 313.70°)
OKLaboklab(75.41% 0.1072 -0.1305)
OKLCHoklch(75.41% 0.169 309.4)
XYZxyz(53.4518, 39.8322, 99.4609)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFF #BEFF8E
analogous
#968EFF #CF8EFF #FF8EF7
triadic
#CF8EFF #FFCF8E #8EFFCF
tetradic
#CF8EFF #FF968E #BEFF8E #8EF7FF
square
#CF8EFF #FF968E #BEFF8E #8EF7FF
split-complementary
#CF8EFF #F7FF8E #8EFF96
monochromatic
#9B14FF #B551FF #CF8EFF #E9CBFF #F2E0FF

Accessibility & contrast

On white

2.34
#CF8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CF8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFF#FFFFFF#000000##000000
##CF8EFF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#C9A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8eff;
/* rgb */ color: rgb(207, 142, 255);
/* oklch */ color: oklch(75.4% 0.169 309.4);
Tailwind
colors: {
  custom: {
    50: '#dfb0ff',
    500: '#cf8eff',
    950: '#000000',
  },
}
SCSS
$custom: #cf8eff;
$custom-light: #dfb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8eff",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 274.513,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75409,
    "c": 0.16895,
    "h": 309.4
  },
  "luminance": 0.39831
}

Semantic roles & 50–950 ramp

primary
#CF8EFF
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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