#CF8FF4#CF8FF4

#CF8FF4 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.155 H 312.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF4
RGBrgb(207, 143, 244)
HSLhsl(278, 82%, 76%)
HSVhsv(278, 41%, 96%)
CMYKcmyk(15.2%, 41.4%, 0%, 4.3%)
CIE-LABlab(69.07, 41.94, -41.34)
CIE-LCHlch(69.07, 58.89, 315.42°)
OKLaboklab(75.04% 0.104 -0.1145)
OKLCHoklch(75.04% 0.155 312.3)
XYZxyz(51.8809, 39.4429, 90.4506)
Luminance0.3944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF4 #B4F48F
analogous
#9C8FF4 #CF8FF4 #F48FE6
triadic
#CF8FF4 #F4CF8F #8FF4CF
tetradic
#CF8FF4 #F49C8F #B4F48F #8FE6F4
square
#CF8FF4 #F49C8F #B4F48F #8FE6F4
split-complementary
#CF8FF4 #E6F48F #8FF49C
monochromatic
#9F20E9 #B757EF #CF8FF4 #E7C7F9 #F3E3FC

Accessibility & contrast

On white

2.36
#CF8FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CF8FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF4#FFFFFF#000000##000000
##CF8FF41.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F8
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#CC9EB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ff4;
/* rgb */ color: rgb(207, 143, 244);
/* oklch */ color: oklch(75.0% 0.155 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfb1f8',
    500: '#cf8ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff4;
$custom-light: #dfb1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff4",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 278.02,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75038,
    "c": 0.15469,
    "h": 312.3
  },
  "luminance": 0.39442
}

Semantic roles & 50–950 ramp

primary
#CF8FF4
secondary
#E2F4D7
accent
#DF0756
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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