#F256E8#F256E8

#F256E8 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.247 H 330.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F256E8
RGBrgb(242, 86, 232)
HSLhsl(304, 86%, 64%)
HSVhsv(304, 64%, 95%)
CMYKcmyk(0%, 64.5%, 4.1%, 5.1%)
CIE-LABlab(62.81, 75.71, -44.22)
CIE-LCHlch(62.81, 87.67, 329.71°)
OKLaboklab(71.16% 0.2149 -0.1216)
OKLCHoklch(71.16% 0.247 330.5)
XYZxyz(54.5110, 31.3630, 79.5109)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256E8 #56F260
analogous
#AE56F2 #F256E8 #F2569A
triadic
#F256E8 #E8F256 #56E8F2
tetradic
#F256E8 #F2AE56 #56F260 #569AF2
square
#F256E8 #F2AE56 #56F260 #569AF2
split-complementary
#F256E8 #9AF256 #56F2AE
monochromatic
#BF0FB4 #EE1DE0 #F256E8 #F68FF0 #FBC8F7

Accessibility & contrast

On white

2.89
#F256E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#F256E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256E8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256E8#FFFFFF#000000##000000
##F256E81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#FB6798
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f256e8;
/* rgb */ color: rgb(242, 86, 232);
/* oklch */ color: oklch(71.2% 0.247 330.5);
Tailwind
colors: {
  custom: {
    50: '#fa90f0',
    500: '#f256e8',
    950: '#000000',
  },
}
SCSS
$custom: #f256e8;
$custom-light: #fa90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f256e8",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 303.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.24689,
    "h": 330.5
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#F256E8
secondary
#B7EDBA
accent
#E21203
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F256E8

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

Preview Lab → · Contrast checker → · Palette generator →

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