#CF7BC5#CF7BC5

#CF7BC5 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.140 H 331.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CF7BC5
RGBrgb(207, 123, 197)
HSLhsl(307, 47%, 65%)
HSVhsv(307, 41%, 81%)
CMYKcmyk(0%, 40.6%, 4.8%, 18.8%)
CIE-LABlab(62.90, 43.44, -24.80)
CIE-LCHlch(62.90, 50.02, 330.27°)
OKLaboklab(69.77% 0.1232 -0.0672)
OKLCHoklch(69.77% 0.14 331.4)
XYZxyz(42.8927, 31.4647, 56.6265)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BC5 #7BCF85
analogous
#AF7BCF #CF7BC5 #CF7B9B
triadic
#CF7BC5 #C5CF7B #7BC5CF
tetradic
#CF7BC5 #CFAF7B #7BCF85 #7B9BCF
square
#CF7BC5 #CFAF7B #7BCF85 #7B9BCF
split-complementary
#CF7BC5 #9BCF7B #7BCFAF
monochromatic
#98378D #BF4EB1 #CF7BC5 #DFA8D9 #F0D5EC

Accessibility & contrast

On white

2.88
#CF7BC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CF7BC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BC5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BC5#FFFFFF#000000##000000
##CF7BC51.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891C8
Deuteranopia (green-blind)
#8E9CC2
Tritanopia (blue-blind)
#D58197
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf7bc5;
/* rgb */ color: rgb(207, 123, 197);
/* oklch */ color: oklch(69.8% 0.140 331.4);
Tailwind
colors: {
  custom: {
    50: '#dfa3d6',
    500: '#cf7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bc5;
$custom-light: #dfa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bc5",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 307.143,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.14029,
    "h": 331.4
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

primary
#CF7BC5
secondary
#C4E1C8
accent
#BA3D2C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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