#CF7BC7#CF7BC7

#CF7BC7 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.142 H 330.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CF7BC7
RGBrgb(207, 123, 199)
HSLhsl(306, 47%, 65%)
HSVhsv(306, 41%, 81%)
CMYKcmyk(0%, 40.6%, 3.9%, 18.8%)
CIE-LABlab(62.98, 43.79, -25.81)
CIE-LCHlch(62.98, 50.84, 329.48°)
OKLaboklab(69.85% 0.1236 -0.07)
OKLCHoklch(69.85% 0.142 330.5)
XYZxyz(43.1234, 31.5570, 57.8414)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BC7 #7BCF83
analogous
#AD7BCF #CF7BC7 #CF7B9D
triadic
#CF7BC7 #C7CF7B #7BC7CF
tetradic
#CF7BC7 #CFAD7B #7BCF83 #7B9DCF
square
#CF7BC7 #CFAD7B #7BCF83 #7B9DCF
split-complementary
#CF7BC7 #9DCF7B #7BCFAD
monochromatic
#98378F #BF4EB4 #CF7BC7 #DFA8DA #F0D5ED

Accessibility & contrast

On white

2.87
#CF7BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CF7BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BC7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BC7#FFFFFF#000000##000000
##CF7BC71.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891CA
Deuteranopia (green-blind)
#8E9DC4
Tritanopia (blue-blind)
#D58198
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf7bc7;
/* rgb */ color: rgb(207, 123, 199);
/* oklch */ color: oklch(69.8% 0.142 330.5);
Tailwind
colors: {
  custom: {
    50: '#dfa3d8',
    500: '#cf7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bc7;
$custom-light: #dfa3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bc7",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 305.714,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.14209,
    "h": 330.5
  },
  "luminance": 0.31555
}

Semantic roles & 50–950 ramp

primary
#CF7BC7
secondary
#C4E1C7
accent
#BA392C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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