#CF5FBF#CF5FBF

#CF5FBF is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.182 H 333.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CF5FBF
RGBrgb(207, 95, 191)
HSLhsl(309, 54%, 59%)
HSVhsv(309, 54%, 81%)
CMYKcmyk(0%, 54.1%, 7.7%, 18.8%)
CIE-LABlab(57.28, 56.39, -30.06)
CIE-LCHlch(57.28, 63.90, 331.94°)
OKLaboklab(65.51% 0.162 -0.0818)
OKLCHoklch(65.51% 0.182 333.2)
XYZxyz(39.2283, 25.2141, 52.0808)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FBF #5FCF6F
analogous
#A75FCF #CF5FBF #CF5F87
triadic
#CF5FBF #BFCF5F #5FBFCF
tetradic
#CF5FBF #CFA75F #5FCF6F #5F87CF
square
#CF5FBF #CFA75F #5FCF6F #5F87CF
split-complementary
#CF5FBF #87CF5F #5FCFA7
monochromatic
#8A297C #B938A7 #CF5FBF #DD8ED2 #EBBDE5

Accessibility & contrast

On white

3.48
#CF5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CF5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FBF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FBF#FFFFFF#000000##000000
##CF5FBF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#7E8FBC
Tritanopia (blue-blind)
#D76787
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5fbf;
/* rgb */ color: rgb(207, 95, 191);
/* oklch */ color: oklch(65.5% 0.182 333.2);
Tailwind
colors: {
  custom: {
    50: '#e091d2',
    500: '#cf5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fbf;
$custom-light: #e091d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fbf",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 308.571,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.18153,
    "h": 333.2
  },
  "luminance": 0.25211
}

Semantic roles & 50–950 ramp

primary
#CF5FBF
secondary
#AFDBB5
accent
#DD604B
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CF5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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