#CF7BEA#CF7BEA

#CF7BEA is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.177 H 317.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CF7BEA
RGBrgb(207, 123, 234)
HSLhsl(285, 73%, 70%)
HSVhsv(285, 47%, 92%)
CMYKcmyk(11.5%, 47.4%, 0%, 8.2%)
CIE-LABlab(64.46, 50.42, -43.05)
CIE-LCHlch(64.46, 66.30, 319.51°)
OKLaboklab(71.45% 0.1302 -0.1193)
OKLCHoklch(71.45% 0.177 317.5)
XYZxyz(47.6643, 33.3734, 81.7569)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BEA #96EA7B
analogous
#977BEA #CF7BEA #EA7BCE
triadic
#CF7BEA #EACF7B #7BEACF
tetradic
#CF7BEA #EA977B #96EA7B #7BCEEA
square
#CF7BEA #EA977B #96EA7B #7BCEEA
split-complementary
#CF7BEA #CEEA7B #7BEA97
monochromatic
#A120CA #BC46E2 #CF7BEA #E2B0F2 #F5E5FB

Accessibility & contrast

On white

2.74
#CF7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CF7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BEA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BEA#FFFFFF#000000##000000
##CF7BEA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#CF8BA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7bea;
/* rgb */ color: rgb(207, 123, 234);
/* oklch */ color: oklch(71.4% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#e0a3f1',
    500: '#cf7bea',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bea;
$custom-light: #e0a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bea",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 285.405,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.17662,
    "h": 317.5
  },
  "luminance": 0.33372
}

Semantic roles & 50–950 ramp

primary
#CF7BEA
secondary
#D8F0D1
accent
#D51140
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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