#CF7BC2#CF7BC2

#CF7BC2 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.138 H 332.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CF7BC2
RGBrgb(207, 123, 194)
HSLhsl(309, 47%, 65%)
HSVhsv(309, 41%, 81%)
CMYKcmyk(0%, 40.6%, 6.3%, 18.8%)
CIE-LABlab(62.78, 42.91, -23.29)
CIE-LCHlch(62.78, 48.82, 331.51°)
OKLaboklab(69.64% 0.1224 -0.0629)
OKLCHoklch(69.64% 0.138 332.8)
XYZxyz(42.5524, 31.3286, 54.8341)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BC2 #7BCF88
analogous
#B27BCF #CF7BC2 #CF7B98
triadic
#CF7BC2 #C2CF7B #7BC2CF
tetradic
#CF7BC2 #CFB27B #7BCF88 #7B98CF
square
#CF7BC2 #CFB27B #7BCF88 #7B98CF
split-complementary
#CF7BC2 #98CF7B #7BCFB2
monochromatic
#983789 #BF4EAD #CF7BC2 #DFA8D7 #F0D5EB

Accessibility & contrast

On white

2.89
#CF7BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CF7BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BC2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BC2#FFFFFF#000000##000000
##CF7BC21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A90C5
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D68096
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf7bc2;
/* rgb */ color: rgb(207, 123, 194);
/* oklch */ color: oklch(69.6% 0.138 332.8);
Tailwind
colors: {
  custom: {
    50: '#dfa3d4',
    500: '#cf7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bc2;
$custom-light: #dfa3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bc2",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 309.286,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69643,
    "c": 0.13763,
    "h": 332.8
  },
  "luminance": 0.31326
}

Semantic roles & 50–950 ramp

primary
#CF7BC2
secondary
#C4E1C9
accent
#BA422C
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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