#CF5FD3#CF5FD3

#CF5FD3 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.5% C 0.198 H 326.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CF5FD3
RGBrgb(207, 95, 211)
HSLhsl(298, 57%, 60%)
HSVhsv(298, 55%, 83%)
CMYKcmyk(1.9%, 55%, 0%, 17.3%)
CIE-LABlab(58.18, 59.81, -40.04)
CIE-LCHlch(58.18, 71.98, 326.20°)
OKLaboklab(66.46% 0.1649 -0.1104)
OKLCHoklch(66.46% 0.198 326.2)
XYZxyz(41.5814, 26.1553, 64.4737)
Luminance0.2615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FD3 #63D35F
analogous
#955FD3 #CF5FD3 #D35F9D
triadic
#CF5FD3 #D3CF5F #5FD3CF
tetradic
#CF5FD3 #D3955F #63D35F #5F9DD3
square
#CF5FD3 #D3955F #63D35F #5F9DD3
split-complementary
#CF5FD3 #9DD35F #5FD395
monochromatic
#8C2890 #BB35C0 #CF5FD3 #DD8FE0 #ECBFED

Accessibility & contrast

On white

3.37
#CF5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CF5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FD3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FD3#FFFFFF#000000##000000
##CF5FD31.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D7
Deuteranopia (green-blind)
#7591D0
Tritanopia (blue-blind)
#D46D90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5fd3;
/* rgb */ color: rgb(207, 95, 211);
/* oklch */ color: oklch(66.5% 0.198 326.2);
Tailwind
colors: {
  custom: {
    50: '#e092e1',
    500: '#cf5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fd3;
$custom-light: #e092e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fd3",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 297.931,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.19843,
    "h": 326.2
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#CF5FD3
secondary
#B2DDB1
accent
#E0484D
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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