#F256DD#F256DD

#F256DD is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.6% C 0.239 H 333.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#F256DD
RGBrgb(242, 86, 221)
HSLhsl(308, 86%, 64%)
HSVhsv(308, 64%, 95%)
CMYKcmyk(0%, 64.5%, 8.7%, 5.1%)
CIE-LABlab(62.30, 74.03, -38.87)
CIE-LCHlch(62.30, 83.61, 332.30°)
OKLaboklab(70.62% 0.2139 -0.1062)
OKLCHoklch(70.62% 0.239 333.6)
XYZxyz(52.9971, 30.7575, 71.5381)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256DD #56F26B
analogous
#B956F2 #F256DD #F2568F
triadic
#F256DD #DDF256 #56DDF2
tetradic
#F256DD #F2B956 #56F26B #568FF2
square
#F256DD #F2B956 #56F26B #568FF2
split-complementary
#F256DD #8FF256 #56F2B9
monochromatic
#BF0FA7 #EE1DD2 #F256DD #F68FE8 #FBC8F4

Accessibility & contrast

On white

2.94
#F256DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#F256DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256DD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256DD#FFFFFF#000000##000000
##F256DD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#FD6392
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f256dd;
/* rgb */ color: rgb(242, 86, 221);
/* oklch */ color: oklch(70.6% 0.239 333.6);
Tailwind
colors: {
  custom: {
    50: '#fa90e8',
    500: '#f256dd',
    950: '#000000',
  },
}
SCSS
$custom: #f256dd;
$custom-light: #fa90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f256dd",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 308.077,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70624,
    "c": 0.23882,
    "h": 333.6
  },
  "luminance": 0.30753
}

Semantic roles & 50–950 ramp

primary
#F256DD
secondary
#B7EDBE
accent
#E22103
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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