#CF7BDB#CF7BDB

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

Color values

HEX#CF7BDB
RGBrgb(207, 123, 219)
HSLhsl(293, 57%, 67%)
HSVhsv(293, 44%, 86%)
CMYKcmyk(5.5%, 43.8%, 0%, 14.1%)
CIE-LABlab(63.79, 47.49, -35.76)
CIE-LCHlch(63.79, 59.45, 323.02°)
OKLaboklab(70.73% 0.1278 -0.0983)
OKLCHoklch(70.73% 0.161 322.4)
XYZxyz(45.5999, 32.5476, 70.8844)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BDB #87DB7B
analogous
#9F7BDB #CF7BDB #DB7BB7
triadic
#CF7BDB #DBCF7B #7BDBCF
tetradic
#CF7BDB #DB9F7B #87DB7B #7BB7DB
square
#CF7BDB #DB9F7B #87DB7B #7BB7DB
split-complementary
#CF7BDB #B7DB7B #7BDB9F
monochromatic
#9D2FAD #BE4BCE #CF7BDB #E0ABE8 #F2DBF5

Accessibility & contrast

On white

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

On black

7.51
#CF7BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BDB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BDB#FFFFFF#000000##000000
##CF7BDB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#D286A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7bdb;
/* rgb */ color: rgb(207, 123, 219);
/* oklch */ color: oklch(70.7% 0.161 322.4);
Tailwind
colors: {
  custom: {
    50: '#dfa3e6',
    500: '#cf7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bdb;
$custom-light: #dfa3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bdb",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 292.5,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.16127,
    "h": 322.4
  },
  "luminance": 0.32546
}

Semantic roles & 50–950 ramp

primary
#CF7BDB
secondary
#CDE8CA
accent
#C52135
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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