#F255F2#F255F2

#F255F2 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.6% C 0.256 H 327.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#F255F2
RGBrgb(242, 85, 242)
HSLhsl(300, 86%, 64%)
HSVhsv(300, 65%, 95%)
CMYKcmyk(0%, 64.9%, 0%, 5.1%)
CIE-LABlab(63.17, 77.66, -49.22)
CIE-LCHlch(63.17, 91.94, 327.63°)
OKLaboklab(71.58% 0.2165 -0.1361)
OKLCHoklch(71.58% 0.256 327.8)
XYZxyz(55.8927, 31.7889, 87.1792)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F255F2 #55F255
analogous
#A455F2 #F255F2 #F255A4
triadic
#F255F2 #F2F255 #55F2F2
tetradic
#F255F2 #F2A455 #55F255 #55A4F2
square
#F255F2 #F2A455 #55F255 #55A4F2
split-complementary
#F255F2 #A4F255 #55F2A4
monochromatic
#BE0FBE #EE1CEE #F255F2 #F68EF6 #FBC7FB

Accessibility & contrast

On white

2.85
#F255F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#F255F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F255F2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F255F2#FFFFFF#000000##000000
##F255F21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#F96B9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f255f2;
/* rgb */ color: rgb(242, 85, 242);
/* oklch */ color: oklch(71.6% 0.256 327.8);
Tailwind
colors: {
  custom: {
    50: '#fa90f7',
    500: '#f255f2',
    950: '#000000',
  },
}
SCSS
$custom: #f255f2;
$custom-light: #fa90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f255f2",
  "rgb": {
    "r": 242,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.25569,
    "h": 327.8
  },
  "luminance": 0.31785
}

Semantic roles & 50–950 ramp

primary
#F255F2
secondary
#B6EDB6
accent
#E20303
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F255F2

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

Preview Lab → · Contrast checker → · Palette generator →

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