#CF8FF2#CF8FF2

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

Color values

HEX#CF8FF2
RGBrgb(207, 143, 242)
HSLhsl(279, 79%, 75%)
HSVhsv(279, 41%, 95%)
CMYKcmyk(14.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(68.98, 41.52, -40.38)
CIE-LCHlch(68.98, 57.92, 315.80°)
OKLaboklab(74.94% 0.1037 -0.1117)
OKLCHoklch(74.94% 0.152 312.9)
XYZxyz(51.5789, 39.3221, 88.8600)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF2 #B2F28F
analogous
#9D8FF2 #CF8FF2 #F28FE3
triadic
#CF8FF2 #F2CF8F #8FF2CF
tetradic
#CF8FF2 #F29D8F #B2F28F #8FE3F2
square
#CF8FF2 #F29D8F #B2F28F #8FE3F2
split-complementary
#CF8FF2 #E3F28F #8FF29D
monochromatic
#A021E5 #B758EC #CF8FF2 #E7C6F8 #F3E4FC

Accessibility & contrast

On white

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

On black

8.86
#CF8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF2#FFFFFF#000000##000000
##CF8FF21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf8ff2;
/* rgb */ color: rgb(207, 143, 242);
/* oklch */ color: oklch(74.9% 0.152 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfb1f6',
    500: '#cf8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff2;
$custom-light: #dfb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff2",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 278.788,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74945,
    "c": 0.1524,
    "h": 312.9
  },
  "luminance": 0.39321
}

Semantic roles & 50–950 ramp

primary
#CF8FF2
secondary
#E1F4D7
accent
#DB0A54
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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