#F285E2#F285E2

#F285E2 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.6% C 0.173 H 332.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F285E2
RGBrgb(242, 133, 226)
HSLhsl(309, 81%, 74%)
HSVhsv(309, 45%, 95%)
CMYKcmyk(0%, 45%, 6.6%, 5.1%)
CIE-LABlab(70.28, 53.99, -29.26)
CIE-LCHlch(70.28, 61.41, 331.54°)
OKLaboklab(76.57% 0.1543 -0.0793)
OKLCHoklch(76.57% 0.173 332.8)
XYZxyz(58.7326, 41.1467, 76.7853)
Luminance0.4114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F285E2 #85F295
analogous
#CB85F2 #F285E2 #F285AB
triadic
#F285E2 #E2F285 #85E2F2
tetradic
#F285E2 #F2CB85 #85F295 #85ABF2
square
#F285E2 #F2CB85 #85F295 #85ABF2
split-complementary
#F285E2 #ABF285 #85F2CB
monochromatic
#E418C6 #EC4ED5 #F285E2 #F8BCEF #FCE3F8

Accessibility & contrast

On white

2.28
#F285E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F285E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F285E2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F285E2#FFFFFF#000000##000000
##F285E21.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#FB8CA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f285e2;
/* rgb */ color: rgb(242, 133, 226);
/* oklch */ color: oklch(76.6% 0.173 332.8);
Tailwind
colors: {
  custom: {
    50: '#f8abeb',
    500: '#f285e2',
    950: '#000000',
  },
}
SCSS
$custom: #f285e2;
$custom-light: #f8abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f285e2",
  "rgb": {
    "r": 242,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 308.807,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76571,
    "c": 0.17349,
    "h": 332.8
  },
  "luminance": 0.41143
}

Semantic roles & 50–950 ramp

primary
#F285E2
secondary
#D7F4DB
accent
#DD2808
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F285E2

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

Preview Lab → · Contrast checker → · Palette generator →

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