#CF7BDF#CF7BDF

#CF7BDF is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.165 H 321.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CF7BDF
RGBrgb(207, 123, 223)
HSLhsl(290, 61%, 68%)
HSVhsv(290, 45%, 87%)
CMYKcmyk(7.2%, 44.8%, 0%, 12.5%)
CIE-LABlab(63.97, 48.26, -37.72)
CIE-LCHlch(63.97, 61.25, 321.99°)
OKLaboklab(70.92% 0.1285 -0.104)
OKLCHoklch(70.92% 0.165 321)
XYZxyz(46.1328, 32.7608, 73.6911)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BDF #8BDF7B
analogous
#9D7BDF #CF7BDF #DF7BBD
triadic
#CF7BDF #DFCF7B #7BDFCF
tetradic
#CF7BDF #DF9D7B #8BDF7B #7BBDDF
square
#CF7BDF #DF9D7B #8BDF7B #7BBDDF
split-complementary
#CF7BDF #BDDF7B #7BDF9D
monochromatic
#9E2CB4 #BD4AD3 #CF7BDF #E1ACEB #F3DEF7

Accessibility & contrast

On white

2.78
#CF7BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CF7BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BDF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BDF#FFFFFF#000000##000000
##CF7BDF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#D188A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7bdf;
/* rgb */ color: rgb(207, 123, 223);
/* oklch */ color: oklch(70.9% 0.165 321.0);
Tailwind
colors: {
  custom: {
    50: '#dfa3e9',
    500: '#cf7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bdf;
$custom-light: #dfa3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bdf",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 290.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70916,
    "c": 0.1653,
    "h": 321
  },
  "luminance": 0.32759
}

Semantic roles & 50–950 ramp

primary
#CF7BDF
secondary
#D0EACB
accent
#C91D38
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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