#F256F3#F256F3

#F256F3 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.7% C 0.255 H 327.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#F256F3
RGBrgb(242, 86, 243)
HSLhsl(300, 87%, 65%)
HSVhsv(300, 65%, 95%)
CMYKcmyk(0.4%, 64.6%, 0%, 4.7%)
CIE-LABlab(63.35, 77.45, -49.49)
CIE-LCHlch(63.35, 91.91, 327.42°)
OKLaboklab(71.72% 0.2155 -0.1369)
OKLCHoklch(71.72% 0.255 327.6)
XYZxyz(56.1226, 32.0077, 87.9987)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256F3 #57F356
analogous
#A456F3 #F256F3 #F356A6
triadic
#F256F3 #F3F256 #56F3F2
tetradic
#F256F3 #F3A456 #57F356 #56A6F3
square
#F256F3 #F3A456 #57F356 #56A6F3
split-complementary
#F256F3 #A6F356 #56F3A4
monochromatic
#C00EC1 #EE1DEF #F256F3 #F68FF7 #FBC8FB

Accessibility & contrast

On white

2.84
#F256F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#F256F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256F3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256F3#FFFFFF#000000##000000
##F256F31.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF8
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#F96C9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f256f3;
/* rgb */ color: rgb(242, 86, 243);
/* oklch */ color: oklch(71.7% 0.255 327.6);
Tailwind
colors: {
  custom: {
    50: '#fa91f7',
    500: '#f256f3',
    950: '#000000',
  },
}
SCSS
$custom: #f256f3;
$custom-light: #fa91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f256f3",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 299.618,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.25526,
    "h": 327.6
  },
  "luminance": 0.32004
}

Semantic roles & 50–950 ramp

primary
#F256F3
secondary
#B8EDB7
accent
#E30204
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F256F3

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

Preview Lab → · Contrast checker → · Palette generator →

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