#CF8FFE#CF8FFE

#CF8FFE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.5% C 0.166 H 309.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CF8FFE
RGBrgb(207, 143, 254)
HSLhsl(275, 98%, 78%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.5%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.52, 44.07, -46.09)
CIE-LCHlch(69.52, 63.77, 313.72°)
OKLaboklab(75.52% 0.1057 -0.1282)
OKLCHoklch(75.52% 0.166 309.5)
XYZxyz(53.4406, 40.0668, 98.6651)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FFE #BEFE8F
analogous
#988FFE #CF8FFE #FE8FF5
triadic
#CF8FFE #FECF8F #8FFECF
tetradic
#CF8FFE #FE988F #BEFE8F #8FF5FE
square
#CF8FFE #FE988F #BEFE8F #8FF5FE
split-complementary
#CF8FFE #F5FE8F #8FFE98
monochromatic
#9B16FD #B552FD #CF8FFE #E9CCFF #F2E1FF

Accessibility & contrast

On white

2.33
#CF8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CF8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FFE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FFE#FFFFFF#000000##000000
##CF8FFE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C9A0BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf8ffe;
/* rgb */ color: rgb(207, 143, 254);
/* oklch */ color: oklch(75.5% 0.166 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb1ff',
    500: '#cf8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ffe;
$custom-light: #dfb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ffe",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 274.595,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75519,
    "c": 0.16618,
    "h": 309.5
  },
  "luminance": 0.40066
}

Semantic roles & 50–950 ramp

primary
#CF8FFE
secondary
#E3F7D4
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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