#CF8EF3#CF8EF3

#CF8EF3 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.155 H 312.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CF8EF3
RGBrgb(207, 142, 243)
HSLhsl(279, 81%, 75%)
HSVhsv(279, 42%, 95%)
CMYKcmyk(14.8%, 41.6%, 0%, 4.7%)
CIE-LABlab(68.81, 42.27, -41.19)
CIE-LCHlch(68.81, 59.02, 315.74°)
OKLaboklab(74.83% 0.1053 -0.1141)
OKLCHoklch(74.83% 0.155 312.7)
XYZxyz(51.5801, 39.0835, 89.6033)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EF3 #B2F38E
analogous
#9C8EF3 #CF8EF3 #F38EE4
triadic
#CF8EF3 #F3CF8E #8EF3CF
tetradic
#CF8EF3 #F39C8E #B2F38E #8EE4F3
square
#CF8EF3 #F39C8E #B2F38E #8EE4F3
split-complementary
#CF8EF3 #E4F38E #8EF39C
monochromatic
#A01FE7 #B757ED #CF8EF3 #E7C5F9 #F3E3FC

Accessibility & contrast

On white

2.38
#CF8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CF8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EF3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EF3#FFFFFF#000000##000000
##CF8EF31.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf8ef3;
/* rgb */ color: rgb(207, 142, 243);
/* oklch */ color: oklch(74.8% 0.155 312.7);
Tailwind
colors: {
  custom: {
    50: '#dfb0f7',
    500: '#cf8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ef3;
$custom-light: #dfb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ef3",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 278.614,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74829,
    "c": 0.15521,
    "h": 312.7
  },
  "luminance": 0.39082
}

Semantic roles & 50–950 ramp

primary
#CF8EF3
secondary
#E1F4D7
accent
#DD0854
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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