#CF46D7#CF46D7

#CF46D7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.235 H 325.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CF46D7
RGBrgb(207, 70, 215)
HSLhsl(297, 64%, 56%)
HSVhsv(297, 67%, 84%)
CMYKcmyk(3.7%, 67.4%, 0%, 15.7%)
CIE-LABlab(54.61, 70.92, -47.96)
CIE-LCHlch(54.61, 85.61, 325.93°)
OKLaboklab(63.93% 0.1942 -0.1332)
OKLCHoklch(63.93% 0.235 325.6)
XYZxyz(40.1872, 22.5546, 66.5136)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46D7 #4ED746
analogous
#8646D7 #CF46D7 #D74696
triadic
#CF46D7 #D7CF46 #46D7CF
tetradic
#CF46D7 #D78646 #4ED746 #4696D7
square
#CF46D7 #D78646 #4ED746 #4696D7
split-complementary
#CF46D7 #96D746 #46D786
monochromatic
#801D86 #B028B8 #CF46D7 #DC78E2 #E9ABED

Accessibility & contrast

On white

3.81
#CF46D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CF46D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46D7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46D7#FFFFFF#000000##000000
##CF46D71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DB
Deuteranopia (green-blind)
#6488D3
Tritanopia (blue-blind)
#D45D89
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf46d7;
/* rgb */ color: rgb(207, 70, 215);
/* oklch */ color: oklch(63.9% 0.235 325.6);
Tailwind
colors: {
  custom: {
    50: '#e184e4',
    500: '#cf46d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf46d7;
$custom-light: #e184e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46d7",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 296.69,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63933,
    "c": 0.23544,
    "h": 325.6
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#CF46D7
secondary
#A2DA9E
accent
#E7404A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CF46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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