#F255EF#F255EF

#F255EF is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.4% C 0.253 H 328.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F255EF
RGBrgb(242, 85, 239)
HSLhsl(301, 86%, 64%)
HSVhsv(301, 65%, 95%)
CMYKcmyk(0%, 64.9%, 1.2%, 5.1%)
CIE-LABlab(63.02, 77.18, -47.79)
CIE-LCHlch(63.02, 90.78, 328.23°)
OKLaboklab(71.42% 0.2163 -0.1319)
OKLCHoklch(71.42% 0.253 328.6)
XYZxyz(55.4458, 31.6101, 84.8256)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F255EF #55F258
analogous
#A655F2 #F255EF #F255A1
triadic
#F255EF #EFF255 #55EFF2
tetradic
#F255EF #F2A655 #55F258 #55A1F2
square
#F255EF #F2A655 #55F258 #55A1F2
split-complementary
#F255EF #A1F255 #55F2A6
monochromatic
#BE0FBB #EE1CEA #F255EF #F68EF4 #FBC7FA

Accessibility & contrast

On white

2.87
#F255EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#F255EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F255EF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F255EF#FFFFFF#000000##000000
##F255EF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#FA699B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f255ef;
/* rgb */ color: rgb(242, 85, 239);
/* oklch */ color: oklch(71.4% 0.253 328.6);
Tailwind
colors: {
  custom: {
    50: '#fa90f5',
    500: '#f255ef',
    950: '#000000',
  },
}
SCSS
$custom: #f255ef;
$custom-light: #fa90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f255ef",
  "rgb": {
    "r": 242,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 301.146,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.25339,
    "h": 328.6
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

primary
#F255EF
secondary
#B6EDB7
accent
#E20703
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F255EF

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

Preview Lab → · Contrast checker → · Palette generator →

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