#F256E4#F256E4

#F256E4 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 71.0% C 0.244 H 331.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#F256E4
RGBrgb(242, 86, 228)
HSLhsl(305, 86%, 64%)
HSVhsv(305, 64%, 95%)
CMYKcmyk(0%, 64.5%, 5.8%, 5.1%)
CIE-LABlab(62.62, 75.09, -42.28)
CIE-LCHlch(62.62, 86.17, 330.62°)
OKLaboklab(70.96% 0.2145 -0.1161)
OKLCHoklch(70.96% 0.244 331.6)
XYZxyz(53.9493, 31.1383, 76.5526)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256E4 #56F264
analogous
#B256F2 #F256E4 #F25696
triadic
#F256E4 #E4F256 #56E4F2
tetradic
#F256E4 #F2B256 #56F264 #5696F2
square
#F256E4 #F2B256 #56F264 #5696F2
split-complementary
#F256E4 #96F256 #56F2B2
monochromatic
#BF0FAF #EE1DDB #F256E4 #F68FED #FBC8F6

Accessibility & contrast

On white

2.91
#F256E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#F256E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256E4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256E4#FFFFFF#000000##000000
##F256E41.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#FB6696
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f256e4;
/* rgb */ color: rgb(242, 86, 228);
/* oklch */ color: oklch(71.0% 0.244 331.6);
Tailwind
colors: {
  custom: {
    50: '#fa90ed',
    500: '#f256e4',
    950: '#000000',
  },
}
SCSS
$custom: #f256e4;
$custom-light: #fa90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f256e4",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 305.385,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.24392,
    "h": 331.6
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

primary
#F256E4
secondary
#B7EDBC
accent
#E21703
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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