#F257F5#F257F5

#F257F5 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.9% C 0.256 H 327.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#F257F5
RGBrgb(242, 87, 245)
HSLhsl(299, 89%, 65%)
HSVhsv(299, 64%, 96%)
CMYKcmyk(1.2%, 64.5%, 0%, 3.9%)
CIE-LABlab(63.58, 77.40, -50.23)
CIE-LCHlch(63.58, 92.27, 327.02°)
OKLaboklab(71.92% 0.2145 -0.139)
OKLCHoklch(71.92% 0.256 327.1)
XYZxyz(56.5066, 32.2899, 89.6248)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257F5 #5AF557
analogous
#A357F5 #F257F5 #F557A9
triadic
#F257F5 #F5F257 #57F5F2
tetradic
#F257F5 #F5A357 #5AF557 #57A9F5
square
#F257F5 #F5A357 #5AF557 #57A9F5
split-complementary
#F257F5 #A9F557 #57F5A3
monochromatic
#C20CC6 #EE1DF2 #F257F5 #F691F8 #FBCBFC

Accessibility & contrast

On white

2.82
#F257F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#F257F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257F5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257F5#FFFFFF#000000##000000
##F257F51.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DFA
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#F96D9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f257f5;
/* rgb */ color: rgb(242, 87, 245);
/* oklch */ color: oklch(71.9% 0.256 327.1);
Tailwind
colors: {
  custom: {
    50: '#fa91f9',
    500: '#f257f5',
    950: '#000000',
  },
}
SCSS
$custom: #f257f5;
$custom-light: #fa91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f257f5",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 298.861,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71923,
    "c": 0.2556,
    "h": 327.1
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

primary
#F257F5
secondary
#BAEFB9
accent
#E50004
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F257F5

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

Preview Lab → · Contrast checker → · Palette generator →

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