#F256F7#F256F7

#F256F7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.9% C 0.258 H 326.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F256F7
RGBrgb(242, 86, 247)
HSLhsl(298, 91%, 65%)
HSVhsv(298, 65%, 97%)
CMYKcmyk(2%, 65.2%, 0%, 3.1%)
CIE-LABlab(63.55, 78.10, -51.38)
CIE-LCHlch(63.55, 93.48, 326.66°)
OKLaboklab(71.93% 0.2156 -0.1424)
OKLCHoklch(71.93% 0.258 326.6)
XYZxyz(56.7332, 32.2519, 91.2147)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256F7 #5BF756
analogous
#A256F7 #F256F7 #F756AB
triadic
#F256F7 #F7F256 #56F7F2
tetradic
#F256F7 #F7A256 #5BF756 #56ABF7
square
#F256F7 #F7A256 #5BF756 #56ABF7
split-complementary
#F256F7 #ABF756 #56F7A2
monochromatic
#C30AC9 #EE1CF4 #F256F7 #F690FA #FBCBFD

Accessibility & contrast

On white

2.82
#F256F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F256F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256F7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256F7#FFFFFF#000000##000000
##F256F71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFC
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#F86DA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f256f7;
/* rgb */ color: rgb(242, 86, 247);
/* oklch */ color: oklch(71.9% 0.258 326.6);
Tailwind
colors: {
  custom: {
    50: '#fa91fa',
    500: '#f256f7',
    950: '#000000',
  },
}
SCSS
$custom: #f256f7;
$custom-light: #fa91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f256f7",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 298.137,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71933,
    "c": 0.25836,
    "h": 326.6
  },
  "luminance": 0.32248
}

Semantic roles & 50–950 ramp

primary
#F256F7
secondary
#BBF0B9
accent
#E60007
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F256F7

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

Preview Lab → · Contrast checker → · Palette generator →

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