#CF7BDA#CF7BDA

#CF7BDA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.160 H 322.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CF7BDA
RGBrgb(207, 123, 218)
HSLhsl(293, 56%, 67%)
HSVhsv(293, 44%, 85%)
CMYKcmyk(5%, 43.6%, 0%, 14.5%)
CIE-LABlab(63.75, 47.30, -35.27)
CIE-LCHlch(63.75, 59.00, 323.28°)
OKLaboklab(70.68% 0.1276 -0.0969)
OKLCHoklch(70.68% 0.16 322.8)
XYZxyz(45.4686, 32.4951, 70.1932)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BDA #86DA7B
analogous
#A07BDA #CF7BDA #DA7BB5
triadic
#CF7BDA #DACF7B #7BDACF
tetradic
#CF7BDA #DAA07B #86DA7B #7BB5DA
square
#CF7BDA #DAA07B #86DA7B #7BB5DA
split-complementary
#CF7BDA #B5DA7B #7BDAA0
monochromatic
#9D30AB #BE4BCD #CF7BDA #E0ABE7 #F2DBF5

Accessibility & contrast

On white

2.80
#CF7BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CF7BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BDA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BDA#FFFFFF#000000##000000
##CF7BDA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#D286A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7bda;
/* rgb */ color: rgb(207, 123, 218);
/* oklch */ color: oklch(70.7% 0.160 322.8);
Tailwind
colors: {
  custom: {
    50: '#dfa3e5',
    500: '#cf7bda',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bda;
$custom-light: #dfa3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bda",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 293.053,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.16027,
    "h": 322.8
  },
  "luminance": 0.32493
}

Semantic roles & 50–950 ramp

primary
#CF7BDA
secondary
#CDE8C9
accent
#C42235
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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