#CF7BF1#CF7BF1

#CF7BF1 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.184 H 315.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CF7BF1
RGBrgb(207, 123, 241)
HSLhsl(283, 81%, 71%)
HSVhsv(283, 49%, 95%)
CMYKcmyk(14.1%, 49%, 0%, 5.5%)
CIE-LABlab(64.79, 51.84, -46.41)
CIE-LCHlch(64.79, 69.57, 318.16°)
OKLaboklab(71.8% 0.1311 -0.129)
OKLCHoklch(71.8% 0.184 315.5)
XYZxyz(48.6898, 33.7836, 87.1581)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BF1 #9DF17B
analogous
#947BF1 #CF7BF1 #F17BD8
triadic
#CF7BF1 #F1CF7B #7BF1CF
tetradic
#CF7BF1 #F1947B #9DF17B #7BD8F1
square
#CF7BF1 #F1947B #9DF17B #7BD8F1
split-complementary
#CF7BF1 #D8F17B #7BF194
monochromatic
#A217DA #BB44EB #CF7BF1 #E3B2F7 #F5E3FC

Accessibility & contrast

On white

2.71
#CF7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CF7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BF1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BF1#FFFFFF#000000##000000
##CF7BF11.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#CD8DAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bf1;
/* rgb */ color: rgb(207, 123, 241);
/* oklch */ color: oklch(71.8% 0.184 315.5);
Tailwind
colors: {
  custom: {
    50: '#e0a4f6',
    500: '#cf7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bf1;
$custom-light: #e0a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bf1",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 282.712,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.18396,
    "h": 315.5
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#CF7BF1
secondary
#DDF3D5
accent
#DD0846
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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