#CF7BEE#CF7BEE

#CF7BEE is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.181 H 316.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CF7BEE
RGBrgb(207, 123, 238)
HSLhsl(284, 77%, 71%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(13%, 48.3%, 0%, 6.7%)
CIE-LABlab(64.65, 51.23, -44.97)
CIE-LCHlch(64.65, 68.17, 318.72°)
OKLaboklab(71.65% 0.1308 -0.1249)
OKLCHoklch(71.65% 0.181 316.3)
XYZxyz(48.2454, 33.6058, 84.8175)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BEE #9AEE7B
analogous
#957BEE #CF7BEE #EE7BD3
triadic
#CF7BEE #EECF7B #7BEECF
tetradic
#CF7BEE #EE957B #9AEE7B #7BD3EE
square
#CF7BEE #EE957B #9AEE7B #7BD3EE
split-complementary
#CF7BEE #D3EE7B #7BEE95
monochromatic
#A21BD3 #BB45E7 #CF7BEE #E3B1F5 #F5E4FC

Accessibility & contrast

On white

2.72
#CF7BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CF7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BEE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BEE#FFFFFF#000000##000000
##CF7BEE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#CE8CAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bee;
/* rgb */ color: rgb(207, 123, 238);
/* oklch */ color: oklch(71.6% 0.181 316.3);
Tailwind
colors: {
  custom: {
    50: '#e0a3f4',
    500: '#cf7bee',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bee;
$custom-light: #e0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bee",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 283.826,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.18081,
    "h": 316.3
  },
  "luminance": 0.33604
}

Semantic roles & 50–950 ramp

primary
#CF7BEE
secondary
#DBF2D3
accent
#D90C43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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