#CF3FBA#CF3FBA

#CF3FBA is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.222 H 334.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF3FBA
RGBrgb(207, 63, 186)
HSLhsl(309, 60%, 53%)
HSVhsv(309, 70%, 81%)
CMYKcmyk(0%, 69.6%, 10.1%, 18.8%)
CIE-LABlab(52.25, 68.82, -35.03)
CIE-LCHlch(52.25, 77.22, 333.03°)
OKLaboklab(61.76% 0.2 -0.0957)
OKLCHoklch(61.76% 0.222 334.4)
XYZxyz(36.3729, 20.3687, 48.4607)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3FBA #3FCF54
analogous
#9C3FCF #CF3FBA #CF3F72
triadic
#CF3FBA #BACF3F #3FBACF
tetradic
#CF3FBA #CF9C3F #3FCF54 #3F72CF
square
#CF3FBA #CF9C3F #3FCF54 #3F72CF
split-complementary
#CF3FBA #72CF3F #3FCF9C
monochromatic
#761E69 #A72A95 #CF3FBA #DB70CC #E7A1DD

Accessibility & contrast

On white

4.14
#CF3FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF3FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3FBA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3FBA#FFFFFF#000000##000000
##CF3FBA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#D94B78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf3fba;
/* rgb */ color: rgb(207, 63, 186);
/* oklch */ color: oklch(61.8% 0.222 334.4);
Tailwind
colors: {
  custom: {
    50: '#e180cf',
    500: '#cf3fba',
    950: '#000000',
  },
}
SCSS
$custom: #cf3fba;
$custom-light: #e180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3fba",
  "rgb": {
    "r": 207,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 308.75,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.2217,
    "h": 334.4
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#CF3FBA
secondary
#96D49F
accent
#E35C45
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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