#CF8FFB#CF8FFB

#CF8FFB is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.4% C 0.163 H 310.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CF8FFB
RGBrgb(207, 143, 251)
HSLhsl(276, 93%, 77%)
HSVhsv(276, 43%, 98%)
CMYKcmyk(17.5%, 43%, 0%, 1.6%)
CIE-LABlab(69.38, 43.43, -44.67)
CIE-LCHlch(69.38, 62.30, 314.19°)
OKLaboklab(75.37% 0.1053 -0.1241)
OKLCHoklch(75.37% 0.163 310.3)
XYZxyz(52.9640, 39.8762, 96.1548)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FFB #BBFB8F
analogous
#998FFB #CF8FFB #FB8FF1
triadic
#CF8FFB #FBCF8F #8FFBCF
tetradic
#CF8FFB #FB998F #BBFB8F #8FF1FB
square
#CF8FFB #FB998F #BBFB8F #8FF1FB
split-complementary
#CF8FFB #F1FB8F #8FFB99
monochromatic
#9C19F7 #B654F9 #CF8FFB #E8CAFD #F2E1FE

Accessibility & contrast

On white

2.34
#CF8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CF8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FFB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FFB#FFFFFF#000000##000000
##CF8FFB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#CAA0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8ffb;
/* rgb */ color: rgb(207, 143, 251);
/* oklch */ color: oklch(75.4% 0.163 310.3);
Tailwind
colors: {
  custom: {
    50: '#dfb1fd',
    500: '#cf8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ffb;
$custom-light: #dfb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ffb",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 275.556,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75373,
    "c": 0.16272,
    "h": 310.3
  },
  "luminance": 0.39875
}

Semantic roles & 50–950 ramp

primary
#CF8FFB
secondary
#E2F6D5
accent
#E6005D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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