#F255F7#F255F7

#F255F7 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.8% C 0.260 H 326.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#F255F7
RGBrgb(242, 85, 247)
HSLhsl(298, 91%, 65%)
HSVhsv(298, 66%, 97%)
CMYKcmyk(2%, 65.6%, 0%, 3.1%)
CIE-LABlab(63.42, 78.46, -51.59)
CIE-LCHlch(63.42, 93.90, 326.68°)
OKLaboklab(71.84% 0.2166 -0.143)
OKLCHoklch(71.84% 0.26 326.6)
XYZxyz(56.6539, 32.0934, 91.1883)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F255F7 #5AF755
analogous
#A155F7 #F255F7 #F755AB
triadic
#F255F7 #F7F255 #55F7F2
tetradic
#F255F7 #F7A155 #5AF755 #55ABF7
square
#F255F7 #F7A155 #5AF755 #55ABF7
split-complementary
#F255F7 #ABF755 #55F7A1
monochromatic
#C209C8 #EE1BF4 #F255F7 #F68FFA #FBCAFD

Accessibility & contrast

On white

2.83
#F255F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#F255F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F255F7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F255F7#FFFFFF#000000##000000
##F255F71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#F86DA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f255f7;
/* rgb */ color: rgb(242, 85, 247);
/* oklch */ color: oklch(71.8% 0.260 326.6);
Tailwind
colors: {
  custom: {
    50: '#fa90fa',
    500: '#f255f7',
    950: '#000000',
  },
}
SCSS
$custom: #f255f7;
$custom-light: #fa90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f255f7",
  "rgb": {
    "r": 242,
    "g": 85,
    "b": 247
  },
  "hsl": {
    "h": 298.148,
    "s": 91.011,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71839,
    "c": 0.25954,
    "h": 326.6
  },
  "luminance": 0.3209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F255F7

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

Preview Lab → · Contrast checker → · Palette generator →

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