#CF46D9#CF46D9

#CF46D9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.237 H 325.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CF46D9
RGBrgb(207, 70, 217)
HSLhsl(296, 66%, 56%)
HSVhsv(296, 68%, 85%)
CMYKcmyk(4.6%, 67.7%, 0%, 14.9%)
CIE-LABlab(54.72, 71.26, -48.92)
CIE-LCHlch(54.72, 86.44, 325.53°)
OKLaboklab(64.05% 0.1942 -0.136)
OKLCHoklch(64.05% 0.237 325)
XYZxyz(40.4457, 22.6580, 67.8753)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF46D9 #50D946
analogous
#8646D9 #CF46D9 #D9469A
triadic
#CF46D9 #D9CF46 #46D9CF
tetradic
#CF46D9 #D98646 #50D946 #469AD9
square
#CF46D9 #D98646 #50D946 #469AD9
split-complementary
#CF46D9 #9AD946 #46D986
monochromatic
#811C89 #B126BB #CF46D9 #DC79E3 #E9ACEE

Accessibility & contrast

On white

3.80
#CF46D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CF46D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF46D9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF46D9#FFFFFF#000000##000000
##CF46D91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DD
Deuteranopia (green-blind)
#6389D5
Tritanopia (blue-blind)
#D35D8B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf46d9;
/* rgb */ color: rgb(207, 70, 217);
/* oklch */ color: oklch(64.0% 0.237 325.0);
Tailwind
colors: {
  custom: {
    50: '#e185e5',
    500: '#cf46d9',
    950: '#000000',
  },
}
SCSS
$custom: #cf46d9;
$custom-light: #e185e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf46d9",
  "rgb": {
    "r": 207,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 295.918,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.23704,
    "h": 325
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#CF46D9
secondary
#A3DC9F
accent
#E93F4B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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