#CF5ACB#CF5ACB

#CF5ACB is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.5% C 0.199 H 328.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CF5ACB
RGBrgb(207, 90, 203)
HSLhsl(302, 55%, 58%)
HSVhsv(302, 57%, 81%)
CMYKcmyk(0%, 56.5%, 1.9%, 18.8%)
CIE-LABlab(56.97, 60.69, -37.41)
CIE-LCHlch(56.97, 71.29, 328.35°)
OKLaboklab(65.45% 0.1704 -0.1028)
OKLCHoklch(65.45% 0.199 328.9)
XYZxyz(40.1673, 24.8921, 59.1773)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ACB #5ACF5E
analogous
#985ACF #CF5ACB #CF5A90
triadic
#CF5ACB #CBCF5A #5ACBCF
tetradic
#CF5ACB #CF985A #5ACF5E #5A90CF
square
#CF5ACB #CF985A #5ACF5E #5A90CF
split-complementary
#CF5ACB #90CF5A #5ACF98
monochromatic
#872784 #B735B2 #CF5ACB #DD89DA #EBB9E9

Accessibility & contrast

On white

3.51
#CF5ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CF5ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ACB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ACB#FFFFFF#000000##000000
##CF5ACB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#D5678A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5acb;
/* rgb */ color: rgb(207, 90, 203);
/* oklch */ color: oklch(65.5% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#e08fdb',
    500: '#cf5acb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5acb;
$custom-light: #e08fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5acb",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 302.051,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6545,
    "c": 0.19897,
    "h": 328.9
  },
  "luminance": 0.2489
}

Semantic roles & 50–950 ramp

primary
#CF5ACB
secondary
#ABDAAD
accent
#DE4F4A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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