#CF48E6#CF48E6

#CF48E6 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 65.0% C 0.245 H 321.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CF48E6
RGBrgb(207, 72, 230)
HSLhsl(291, 76%, 59%)
HSVhsv(291, 69%, 90%)
CMYKcmyk(10%, 68.7%, 0%, 9.8%)
CIE-LABlab(55.70, 72.78, -54.70)
CIE-LCHlch(55.70, 91.04, 323.07°)
OKLaboklab(64.98% 0.1919 -0.1528)
OKLCHoklch(64.98% 0.245 321.5)
XYZxyz(42.3308, 23.6156, 77.1761)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48E6 #5FE648
analogous
#8048E6 #CF48E6 #E648AE
triadic
#CF48E6 #E6CF48 #48E6CF
tetradic
#CF48E6 #E68048 #5FE648 #48AEE6
square
#CF48E6 #E68048 #5FE648 #48AEE6
split-complementary
#CF48E6 #AEE648 #48E680
monochromatic
#8A169E #B91DD4 #CF48E6 #DD7EED #EBB4F5

Accessibility & contrast

On white

3.67
#CF48E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CF48E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48E6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48E6#FFFFFF#000000##000000
##CF48E61.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEB
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#D16492
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf48e6;
/* rgb */ color: rgb(207, 72, 230);
/* oklch */ color: oklch(65.0% 0.245 321.5);
Tailwind
colors: {
  custom: {
    50: '#e286ee',
    500: '#cf48e6',
    950: '#000000',
  },
}
SCSS
$custom: #cf48e6;
$custom-light: #e286ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48e6",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 291.266,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64982,
    "c": 0.24533,
    "h": 321.5
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#CF48E6
secondary
#AFE4A6
accent
#F33551
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF48E6

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

Preview Lab → · Contrast checker → · Palette generator →

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