#CF7BE5#CF7BE5

#CF7BE5 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.171 H 319.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CF7BE5
RGBrgb(207, 123, 229)
HSLhsl(288, 67%, 69%)
HSVhsv(288, 46%, 90%)
CMYKcmyk(9.6%, 46.3%, 0%, 10.2%)
CIE-LABlab(64.23, 49.43, -40.64)
CIE-LCHlch(64.23, 63.99, 320.57°)
OKLaboklab(71.2% 0.1295 -0.1123)
OKLCHoklch(71.2% 0.171 319.1)
XYZxyz(46.9561, 33.0901, 78.0271)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BE5 #91E57B
analogous
#9A7BE5 #CF7BE5 #E57BC6
triadic
#CF7BE5 #E5CF7B #7BE5CF
tetradic
#CF7BE5 #E59A7B #91E57B #7BC6E5
square
#CF7BE5 #E59A7B #91E57B #7BC6E5
split-complementary
#CF7BE5 #C6E57B #7BE59A
monochromatic
#A026C0 #BC48DB #CF7BE5 #E2AEEF #F4E1F9

Accessibility & contrast

On white

2.76
#CF7BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CF7BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BE5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BE5#FFFFFF#000000##000000
##CF7BE51.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E9
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#D089A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7be5;
/* rgb */ color: rgb(207, 123, 229);
/* oklch */ color: oklch(71.2% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#dfa3ed',
    500: '#cf7be5',
    950: '#000000',
  },
}
SCSS
$custom: #cf7be5;
$custom-light: #dfa3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7be5",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 287.547,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71203,
    "c": 0.17144,
    "h": 319.1
  },
  "luminance": 0.33088
}

Semantic roles & 50–950 ramp

primary
#CF7BE5
secondary
#D5EDCE
accent
#CF173D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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