#CF5FC3#CF5FC3

#CF5FC3 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.185 H 331.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF5FC3
RGBrgb(207, 95, 195)
HSLhsl(306, 54%, 59%)
HSVhsv(306, 54%, 81%)
CMYKcmyk(0%, 54.1%, 5.8%, 18.8%)
CIE-LABlab(57.46, 57.05, -32.08)
CIE-LCHlch(57.46, 65.46, 330.65°)
OKLaboklab(65.69% 0.1627 -0.0876)
OKLCHoklch(65.69% 0.185 331.7)
XYZxyz(39.6745, 25.3926, 54.4308)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FC3 #5FCF6B
analogous
#A35FCF #CF5FC3 #CF5F8B
triadic
#CF5FC3 #C3CF5F #5FC3CF
tetradic
#CF5FC3 #CFA35F #5FCF6B #5F8BCF
square
#CF5FC3 #CFA35F #5FCF6B #5F8BCF
split-complementary
#CF5FC3 #8BCF5F #5FCFA3
monochromatic
#8A2980 #B938AB #CF5FC3 #DD8ED5 #EBBDE6

Accessibility & contrast

On white

3.46
#CF5FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CF5FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FC3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FC3#FFFFFF#000000##000000
##CF5FC31.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C6
Deuteranopia (green-blind)
#7C90C0
Tritanopia (blue-blind)
#D76888
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5fc3;
/* rgb */ color: rgb(207, 95, 195);
/* oklch */ color: oklch(65.7% 0.185 331.7);
Tailwind
colors: {
  custom: {
    50: '#e091d5',
    500: '#cf5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fc3;
$custom-light: #e091d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fc3",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 306.429,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.18478,
    "h": 331.7
  },
  "luminance": 0.2539
}

Semantic roles & 50–950 ramp

primary
#CF5FC3
secondary
#AFDBB4
accent
#DD5A4B
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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