#CF8FF1#CF8FF1

#CF8FF1 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.9% C 0.151 H 313.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF1
RGBrgb(207, 143, 241)
HSLhsl(279, 78%, 75%)
HSVhsv(279, 41%, 95%)
CMYKcmyk(14.1%, 40.7%, 0%, 5.5%)
CIE-LABlab(68.94, 41.31, -39.90)
CIE-LCHlch(68.94, 57.43, 316.00°)
OKLaboklab(74.9% 0.1035 -0.1103)
OKLCHoklch(74.9% 0.151 313.2)
XYZxyz(51.4291, 39.2622, 88.0712)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF1 #B1F18F
analogous
#9E8FF1 #CF8FF1 #F18FE2
triadic
#CF8FF1 #F1CF8F #8FF1CF
tetradic
#CF8FF1 #F19E8F #B1F18F #8FE2F1
square
#CF8FF1 #F19E8F #B1F18F #8FE2F1
split-complementary
#CF8FF1 #E2F18F #8FF19E
monochromatic
#A022E3 #B859EA #CF8FF1 #E6C5F8 #F3E4FC

Accessibility & contrast

On white

2.37
#CF8FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CF8FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF1#FFFFFF#000000##000000
##CF8FF11.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#CC9DB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8ff1;
/* rgb */ color: rgb(207, 143, 241);
/* oklch */ color: oklch(74.9% 0.151 313.2);
Tailwind
colors: {
  custom: {
    50: '#dfb1f6',
    500: '#cf8ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff1;
$custom-light: #dfb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff1",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 279.184,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74898,
    "c": 0.15127,
    "h": 313.2
  },
  "luminance": 0.39261
}

Semantic roles & 50–950 ramp

primary
#CF8FF1
secondary
#E1F3D8
accent
#DA0B53
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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