#F256DF#F256DF

#F256DF is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.7% C 0.240 H 333.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F256DF
RGBrgb(242, 86, 223)
HSLhsl(307, 86%, 64%)
HSVhsv(307, 64%, 95%)
CMYKcmyk(0%, 64.5%, 7.9%, 5.1%)
CIE-LABlab(62.39, 74.33, -39.84)
CIE-LCHlch(62.39, 84.33, 331.81°)
OKLaboklab(70.72% 0.2141 -0.1091)
OKLCHoklch(70.72% 0.24 333)
XYZxyz(53.2652, 30.8647, 72.9498)
Luminance0.3086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256DF #56F269
analogous
#B756F2 #F256DF #F25691
triadic
#F256DF #DFF256 #56DFF2
tetradic
#F256DF #F2B756 #56F269 #5691F2
square
#F256DF #F2B756 #56F269 #5691F2
split-complementary
#F256DF #91F256 #56F2B7
monochromatic
#BF0FA9 #EE1DD4 #F256DF #F68FEA #FBC8F5

Accessibility & contrast

On white

2.93
#F256DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F256DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256DF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256DF#FFFFFF#000000##000000
##F256DF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#FC6393
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f256df;
/* rgb */ color: rgb(242, 86, 223);
/* oklch */ color: oklch(70.7% 0.240 333.0);
Tailwind
colors: {
  custom: {
    50: '#fa90e9',
    500: '#f256df',
    950: '#000000',
  },
}
SCSS
$custom: #f256df;
$custom-light: #fa90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f256df",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 307.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.24026,
    "h": 333
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#F256DF
secondary
#B7EDBD
accent
#E21E03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F256DF

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

Preview Lab → · Contrast checker → · Palette generator →

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