#CF8EFA#CF8EFA

#CF8EFA is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.2% C 0.163 H 310.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFA
RGBrgb(207, 142, 250)
HSLhsl(276, 92%, 77%)
HSVhsv(276, 43%, 98%)
CMYKcmyk(17.2%, 43.2%, 0%, 2%)
CIE-LABlab(69.12, 43.75, -44.53)
CIE-LCHlch(69.12, 62.43, 314.49°)
OKLaboklab(75.16% 0.1065 -0.1237)
OKLCHoklch(75.16% 0.163 310.7)
XYZxyz(52.6573, 39.5144, 95.2770)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFA #B9FA8E
analogous
#998EFA #CF8EFA #FA8EEF
triadic
#CF8EFA #FACF8E #8EFACF
tetradic
#CF8EFA #FA998E #B9FA8E #8EEFFA
square
#CF8EFA #FA998E #B9FA8E #8EEFFA
split-complementary
#CF8EFA #EFFA8E #8EFA99
monochromatic
#9D19F5 #B653F7 #CF8EFA #E8C9FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.90
#CF8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFA#FFFFFF#000000##000000
##CF8EFA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CA9EB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8efa;
/* rgb */ color: rgb(207, 142, 250);
/* oklch */ color: oklch(75.2% 0.163 310.7);
Tailwind
colors: {
  custom: {
    50: '#dfb0fc',
    500: '#cf8efa',
    950: '#000000',
  },
}
SCSS
$custom: #cf8efa;
$custom-light: #dfb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8efa",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 276.111,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75164,
    "c": 0.1632,
    "h": 310.7
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#CF8EFA
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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