#CF8BFE#CF8BFE

#CF8BFE is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.173 H 310.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CF8BFE
RGBrgb(207, 139, 254)
HSLhsl(275, 98%, 77%)
HSVhsv(275, 45%, 100%)
CMYKcmyk(18.5%, 45.3%, 0%, 0.4%)
CIE-LABlab(68.67, 46.20, -47.43)
CIE-LCHlch(68.67, 66.21, 314.25°)
OKLaboklab(74.89% 0.1112 -0.1321)
OKLCHoklch(74.89% 0.173 310.1)
XYZxyz(52.8508, 38.8872, 98.4685)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BFE #BAFE8B
analogous
#968BFE #CF8BFE #FE8BF4
triadic
#CF8BFE #FECF8B #8BFECF
tetradic
#CF8BFE #FE968B #BAFE8B #8BF4FE
square
#CF8BFE #FE968B #BAFE8B #8BF4FE
split-complementary
#CF8BFE #F4FE8B #8BFE96
monochromatic
#9D12FD #B64EFD #CF8BFE #E8C8FF #F2E1FF

Accessibility & contrast

On white

2.39
#CF8BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CF8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BFE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BFE#FFFFFF#000000##000000
##CF8BFE1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#C99DB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bfe;
/* rgb */ color: rgb(207, 139, 254);
/* oklch */ color: oklch(74.9% 0.173 310.1);
Tailwind
colors: {
  custom: {
    50: '#e0aeff',
    500: '#cf8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bfe;
$custom-light: #e0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bfe",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 275.478,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74885,
    "c": 0.17262,
    "h": 310.1
  },
  "luminance": 0.38886
}

Semantic roles & 50–950 ramp

primary
#CF8BFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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