#CF7BED#CF7BED

#CF7BED is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.180 H 316.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CF7BED
RGBrgb(207, 123, 237)
HSLhsl(284, 76%, 71%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(12.7%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.60, 51.02, -44.49)
CIE-LCHlch(64.60, 67.70, 318.91°)
OKLaboklab(71.6% 0.1306 -0.1235)
OKLCHoklch(71.6% 0.18 316.6)
XYZxyz(48.0989, 33.5472, 84.0459)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BED #99ED7B
analogous
#967BED #CF7BED #ED7BD2
triadic
#CF7BED #EDCF7B #7BEDCF
tetradic
#CF7BED #ED967B #99ED7B #7BD2ED
square
#CF7BED #ED967B #99ED7B #7BD2ED
split-complementary
#CF7BED #D2ED7B #7BED96
monochromatic
#A21DD1 #BB45E6 #CF7BED #E3B1F4 #F5E4FB

Accessibility & contrast

On white

2.72
#CF7BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CF7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BED
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BED#FFFFFF#000000##000000
##CF7BED1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#CE8CA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bed;
/* rgb */ color: rgb(207, 123, 237);
/* oklch */ color: oklch(71.6% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#e0a3f3',
    500: '#cf7bed',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bed;
$custom-light: #e0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bed",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 284.211,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71596,
    "c": 0.17975,
    "h": 316.6
  },
  "luminance": 0.33546
}

Semantic roles & 50–950 ramp

primary
#CF7BED
secondary
#DBF1D2
accent
#D80D43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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