#FF45F2#FF45F2

#FF45F2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 72.0% C 0.279 H 331.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#FF45F2
RGBrgb(255, 69, 242)
HSLhsl(304, 100%, 64%)
HSVhsv(304, 73%, 100%)
CMYKcmyk(0%, 72.9%, 5.1%, 0%)
CIE-LABlab(63.29, 85.72, -48.90)
CIE-LCHlch(63.29, 98.69, 330.30°)
OKLaboklab(72.04% 0.2445 -0.1348)
OKLCHoklch(72.04% 0.279 331.1)
XYZxyz(59.3951, 31.9318, 87.0224)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF45F2 #45FF52
analogous
#AF45FF #FF45F2 #FF4595
triadic
#FF45F2 #F2FF45 #45F2FF
tetradic
#FF45F2 #FFAF45 #45FF52 #4595FF
square
#FF45F2 #FFAF45 #45FF52 #4595FF
split-complementary
#FF45F2 #95FF45 #45FFAF
monochromatic
#CA00BC #FF08EE #FF45F2 #FF82F6 #FFBFFB

Accessibility & contrast

On white

2.84
#FF45F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#FF45F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF45F2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF45F2#FFFFFF#000000##000000
##FF45F21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#80A2EE
Tritanopia (blue-blind)
#FF5C98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ff45f2;
/* rgb */ color: rgb(255, 69, 242);
/* oklch */ color: oklch(72.0% 0.279 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff8af7',
    500: '#ff45f2',
    950: '#000000',
  },
}
SCSS
$custom: #ff45f2;
$custom-light: #ff8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff45f2",
  "rgb": {
    "r": 255,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 304.194,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.72044,
    "c": 0.27922,
    "h": 331.1
  },
  "luminance": 0.31927
}

Semantic roles & 50–950 ramp

primary
#FF45F2
secondary
#AFF1B4
accent
#E61000
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#190D17
muted
#877E85

Preview Lab

Preview with #FF45F2

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

Preview Lab → · Contrast checker → · Palette generator →

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