#CF8BF3#CF8BF3

#CF8BF3 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.160 H 313.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF3
RGBrgb(207, 139, 243)
HSLhsl(279, 81%, 75%)
HSVhsv(279, 43%, 95%)
CMYKcmyk(14.8%, 42.8%, 0%, 4.7%)
CIE-LABlab(68.17, 43.87, -42.20)
CIE-LCHlch(68.17, 60.87, 316.11°)
OKLaboklab(74.35% 0.1095 -0.1169)
OKLCHoklch(74.35% 0.16 313.1)
XYZxyz(51.1397, 38.2028, 89.4565)
Luminance0.3820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF3 #AFF38B
analogous
#9B8BF3 #CF8BF3 #F38BE3
triadic
#CF8BF3 #F3CF8B #8BF3CF
tetradic
#CF8BF3 #F39B8B #AFF38B #8BE3F3
square
#CF8BF3 #F39B8B #AFF38B #8BE3F3
split-complementary
#CF8BF3 #E3F38B #8BF39B
monochromatic
#A11CE8 #B854ED #CF8BF3 #E6C2F9 #F4E3FC

Accessibility & contrast

On white

2.43
#CF8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CF8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF3#FFFFFF#000000##000000
##CF8BF31.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F7
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#CC9AB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8bf3;
/* rgb */ color: rgb(207, 139, 243);
/* oklch */ color: oklch(74.3% 0.160 313.1);
Tailwind
colors: {
  custom: {
    50: '#dfaef7',
    500: '#cf8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf3;
$custom-light: #dfaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf3",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 279.231,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74348,
    "c": 0.16017,
    "h": 313.1
  },
  "luminance": 0.38202
}

Semantic roles & 50–950 ramp

primary
#CF8BF3
secondary
#E1F4D7
accent
#DE0852
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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