#CF7BEC#CF7BEC

#CF7BEC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.179 H 316.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CF7BEC
RGBrgb(207, 123, 236)
HSLhsl(285, 75%, 70%)
HSVhsv(285, 48%, 93%)
CMYKcmyk(12.3%, 47.9%, 0%, 7.5%)
CIE-LABlab(64.55, 50.82, -44.02)
CIE-LCHlch(64.55, 67.23, 319.11°)
OKLaboklab(71.55% 0.1305 -0.1221)
OKLCHoklch(71.55% 0.179 316.9)
XYZxyz(47.9532, 33.4889, 83.2786)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BEC #98EC7B
analogous
#977BEC #CF7BEC #EC7BD0
triadic
#CF7BEC #ECCF7B #7BECCF
tetradic
#CF7BEC #EC977B #98EC7B #7BD0EC
square
#CF7BEC #EC977B #98EC7B #7BD0EC
split-complementary
#CF7BEC #D0EC7B #7BEC97
monochromatic
#A11ECF #BC46E4 #CF7BEC #E2B0F4 #F5E4FB

Accessibility & contrast

On white

2.73
#CF7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CF7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BEC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BEC#FFFFFF#000000##000000
##CF7BEC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#CE8BA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7bec;
/* rgb */ color: rgb(207, 123, 236);
/* oklch */ color: oklch(71.5% 0.179 316.9);
Tailwind
colors: {
  custom: {
    50: '#e0a3f2',
    500: '#cf7bec',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bec;
$custom-light: #e0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bec",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 284.602,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71546,
    "c": 0.17871,
    "h": 316.9
  },
  "luminance": 0.33487
}

Semantic roles & 50–950 ramp

primary
#CF7BEC
secondary
#DAF1D2
accent
#D70F42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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