#CF8FF7#CF8FF7

#CF8FF7 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.2% C 0.158 H 311.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CF8FF7
RGBrgb(207, 143, 247)
HSLhsl(277, 87%, 76%)
HSVhsv(277, 42%, 97%)
CMYKcmyk(16.2%, 42.1%, 0%, 3.1%)
CIE-LABlab(69.20, 42.58, -42.77)
CIE-LCHlch(69.20, 60.35, 314.87°)
OKLaboklab(75.18% 0.1046 -0.1186)
OKLCHoklch(75.18% 0.158 311.4)
XYZxyz(52.3401, 39.6266, 92.8691)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FF7 #B7F78F
analogous
#9B8FF7 #CF8FF7 #F78FEB
triadic
#CF8FF7 #F7CF8F #8FF7CF
tetradic
#CF8FF7 #F79B8F #B7F78F #8FEBF7
square
#CF8FF7 #F79B8F #B7F78F #8FEBF7
split-complementary
#CF8FF7 #EBF78F #8FF79B
monochromatic
#9E1DEF #B756F3 #CF8FF7 #E7C8FB #F3E2FD

Accessibility & contrast

On white

2.35
#CF8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CF8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FF7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FF7#FFFFFF#000000##000000
##CF8FF71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#CB9EB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ff7;
/* rgb */ color: rgb(207, 143, 247);
/* oklch */ color: oklch(75.2% 0.158 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfb1fa',
    500: '#cf8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ff7;
$custom-light: #dfb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ff7",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 276.923,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.15812,
    "h": 311.4
  },
  "luminance": 0.39626
}

Semantic roles & 50–950 ramp

primary
#CF8FF7
secondary
#E2F5D6
accent
#E30259
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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