#CF8FF3#CF8FF3

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

Color values

HEX#CF8FF3
RGBrgb(207, 143, 243)
HSLhsl(278, 81%, 76%)
HSVhsv(278, 41%, 95%)
CMYKcmyk(14.8%, 41.2%, 0%, 4.7%)
CIE-LABlab(69.03, 41.73, -40.86)
CIE-LCHlch(69.03, 58.40, 315.61°)
OKLaboklab(74.99% 0.1039 -0.1131)
OKLCHoklch(74.99% 0.154 312.6)
XYZxyz(51.7295, 39.3824, 89.6531)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF3 #B3F38F
analogous
#9D8FF3 #CF8FF3 #F38FE5
triadic
#CF8FF3 #F3CF8F #8FF3CF
tetradic
#CF8FF3 #F39D8F #B3F38F #8FE5F3
square
#CF8FF3 #F39D8F #B3F38F #8FE5F3
split-complementary
#CF8FF3 #E5F38F #8FF39D
monochromatic
#A020E7 #B758ED #CF8FF3 #E7C6F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.88
#CF8FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF3#FFFFFF#000000##000000
##CF8FF31.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#CC9DB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8ff3;
/* rgb */ color: rgb(207, 143, 243);
/* oklch */ color: oklch(75.0% 0.154 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfb1f7',
    500: '#cf8ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff3;
$custom-light: #dfb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff3",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 278.4,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.15355,
    "h": 312.6
  },
  "luminance": 0.39381
}

Semantic roles & 50–950 ramp

primary
#CF8FF3
secondary
#E1F4D7
accent
#DD0955
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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