#CF7BD2#CF7BD2

#CF7BD2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.152 H 325.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CF7BD2
RGBrgb(207, 123, 210)
HSLhsl(298, 49%, 65%)
HSVhsv(298, 41%, 82%)
CMYKcmyk(1.4%, 41.4%, 0%, 17.6%)
CIE-LABlab(63.41, 45.79, -31.32)
CIE-LCHlch(63.41, 55.48, 325.63°)
OKLaboklab(70.32% 0.1261 -0.0856)
OKLCHoklch(70.32% 0.152 325.8)
XYZxyz(44.4470, 32.0864, 64.8124)
Luminance0.3208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BD2 #7ED27B
analogous
#A37BD2 #CF7BD2 #D27BA9
triadic
#CF7BD2 #D2CF7B #7BD2CF
tetradic
#CF7BD2 #D2A37B #7ED27B #7BA9D2
square
#CF7BD2 #D2A37B #7ED27B #7BA9D2
split-complementary
#CF7BD2 #A9D27B #7BD2A3
monochromatic
#99369D #BE4DC2 #CF7BD2 #E0A9E2 #F0D6F1

Accessibility & contrast

On white

2.83
#CF7BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CF7BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BD2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BD2#FFFFFF#000000##000000
##CF7BD21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#8A9DCF
Tritanopia (blue-blind)
#D3849D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7bd2;
/* rgb */ color: rgb(207, 123, 210);
/* oklch */ color: oklch(70.3% 0.152 325.8);
Tailwind
colors: {
  custom: {
    50: '#dfa3e0',
    500: '#cf7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bd2;
$custom-light: #dfa3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bd2",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 297.931,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70322,
    "c": 0.15241,
    "h": 325.8
  },
  "luminance": 0.32084
}

Semantic roles & 50–950 ramp

primary
#CF7BD2
secondary
#C7E3C6
accent
#BC292E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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