#FF56F2#FF56F2

#FF56F2 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 73.4% C 0.261 H 331.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#FF56F2
RGBrgb(255, 86, 242)
HSLhsl(305, 100%, 67%)
HSVhsv(305, 66%, 100%)
CMYKcmyk(0%, 66.3%, 5.1%, 0%)
CIE-LABlab(65.22, 80.22, -45.85)
CIE-LCHlch(65.22, 92.40, 330.25°)
OKLaboklab(73.44% 0.2287 -0.1261)
OKLCHoklch(73.44% 0.261 331.1)
XYZxyz(60.5947, 34.3310, 87.4223)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF56F2 #56FF63
analogous
#B756FF #FF56F2 #FF569E
triadic
#FF56F2 #F2FF56 #56F2FF
tetradic
#FF56F2 #FFB756 #56FF63 #569EFF
square
#FF56F2 #FFB756 #56FF63 #569EFF
split-complementary
#FF56F2 #9EFF56 #56FFB7
monochromatic
#DB00CA #FF19ED #FF56F2 #FF93F7 #FFD0FB

Accessibility & contrast

On white

2.67
#FF56F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#FF56F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF56F2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF56F2#FFFFFF#000000##000000
##FF56F21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#FF689D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ff56f2;
/* rgb */ color: rgb(255, 86, 242);
/* oklch */ color: oklch(73.4% 0.261 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff92f7',
    500: '#ff56f2',
    950: '#000000',
  },
}
SCSS
$custom: #ff56f2;
$custom-light: #ff92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff56f2",
  "rgb": {
    "r": 255,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 304.615,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.73439,
    "c": 0.26111,
    "h": 331.1
  },
  "luminance": 0.34326
}

Semantic roles & 50–950 ramp

primary
#FF56F2
secondary
#BDF3C2
accent
#E61200
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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