#CF8BFA#CF8BFA

#CF8BFA is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.7% C 0.168 H 311.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CF8BFA
RGBrgb(207, 139, 250)
HSLhsl(277, 92%, 76%)
HSVhsv(277, 44%, 98%)
CMYKcmyk(17.2%, 44.4%, 0%, 2%)
CIE-LABlab(68.49, 45.35, -45.53)
CIE-LCHlch(68.49, 64.26, 314.88°)
OKLaboklab(74.69% 0.1106 -0.1266)
OKLCHoklch(74.69% 0.168 311.1)
XYZxyz(52.2170, 38.6337, 95.1302)
Luminance0.3863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BFA #B6FA8B
analogous
#988BFA #CF8BFA #FA8BEE
triadic
#CF8BFA #FACF8B #8BFACF
tetradic
#CF8BFA #FA988B #B6FA8B #8BEEFA
square
#CF8BFA #FA988B #B6FA8B #8BEEFA
split-complementary
#CF8BFA #EEFA8B #8BFA98
monochromatic
#9E16F5 #B750F7 #CF8BFA #E7C6FD #F3E2FE

Accessibility & contrast

On white

2.41
#CF8BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CF8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BFA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BFA#FFFFFF#000000##000000
##CF8BFA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#CA9CB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bfa;
/* rgb */ color: rgb(207, 139, 250);
/* oklch */ color: oklch(74.7% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#dfaefc',
    500: '#cf8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bfa;
$custom-light: #dfaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bfa",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 276.757,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74687,
    "c": 0.16807,
    "h": 311.1
  },
  "luminance": 0.38633
}

Semantic roles & 50–950 ramp

primary
#CF8BFA
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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