#F256E7#F256E7

#F256E7 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.1% C 0.246 H 330.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#F256E7
RGBrgb(242, 86, 231)
HSLhsl(304, 86%, 64%)
HSVhsv(304, 64%, 95%)
CMYKcmyk(0%, 64.5%, 4.5%, 5.1%)
CIE-LABlab(62.77, 75.55, -43.73)
CIE-LCHlch(62.77, 87.30, 329.93°)
OKLaboklab(71.11% 0.2148 -0.1202)
OKLCHoklch(71.11% 0.246 330.8)
XYZxyz(54.3693, 31.3064, 78.7650)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256E7 #56F261
analogous
#AF56F2 #F256E7 #F25699
triadic
#F256E7 #E7F256 #56E7F2
tetradic
#F256E7 #F2AF56 #56F261 #5699F2
square
#F256E7 #F2AF56 #56F261 #5699F2
split-complementary
#F256E7 #99F256 #56F2AF
monochromatic
#BF0FB2 #EE1DDF #F256E7 #F68FEF #FBC8F7

Accessibility & contrast

On white

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

On black

7.26
#F256E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256E7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256E7#FFFFFF#000000##000000
##F256E71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEB
Deuteranopia (green-blind)
#82A0E3
Tritanopia (blue-blind)
#FB6797
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f256e7;
/* rgb */ color: rgb(242, 86, 231);
/* oklch */ color: oklch(71.1% 0.246 330.8);
Tailwind
colors: {
  custom: {
    50: '#fa90ef',
    500: '#f256e7',
    950: '#000000',
  },
}
SCSS
$custom: #f256e7;
$custom-light: #fa90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f256e7",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 304.231,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.24615,
    "h": 330.8
  },
  "luminance": 0.31302
}

Semantic roles & 50–950 ramp

primary
#F256E7
secondary
#B7EDBB
accent
#E21303
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F256E7

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

Preview Lab → · Contrast checker → · Palette generator →

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