#CF7BEF#CF7BEF

#CF7BEF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.182 H 316.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CF7BEF
RGBrgb(207, 123, 239)
HSLhsl(283, 78%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(13.4%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.70, 51.43, -45.45)
CIE-LCHlch(64.70, 68.64, 318.53°)
OKLaboklab(71.7% 0.1309 -0.1262)
OKLCHoklch(71.7% 0.182 316)
XYZxyz(48.3927, 33.6648, 85.5934)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BEF #9BEF7B
analogous
#957BEF #CF7BEF #EF7BD5
triadic
#CF7BEF #EFCF7B #7BEFCF
tetradic
#CF7BEF #EF957B #9BEF7B #7BD5EF
square
#CF7BEF #EF957B #9BEF7B #7BD5EF
split-complementary
#CF7BEF #D5EF7B #7BEF95
monochromatic
#A21AD6 #BB44E8 #CF7BEF #E3B2F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.73
#CF7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BEF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BEF#FFFFFF#000000##000000
##CF7BEF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf7bef;
/* rgb */ color: rgb(207, 123, 239);
/* oklch */ color: oklch(71.7% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#e0a4f4',
    500: '#cf7bef',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bef;
$custom-light: #e0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bef",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 283.448,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.18185,
    "h": 316
  },
  "luminance": 0.33663
}

Semantic roles & 50–950 ramp

primary
#CF7BEF
secondary
#DCF2D3
accent
#DB0B44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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