#F285EF#F285EF

#F285EF is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.1% C 0.185 H 328.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#F285EF
RGBrgb(242, 133, 239)
HSLhsl(302, 81%, 74%)
HSVhsv(302, 45%, 95%)
CMYKcmyk(0%, 45%, 1.2%, 5.1%)
CIE-LABlab(70.79, 56.20, -35.62)
CIE-LCHlch(70.79, 66.53, 327.64°)
OKLaboklab(77.12% 0.1569 -0.0973)
OKLCHoklch(77.12% 0.185 328.2)
XYZxyz(60.5845, 41.8875, 86.5385)
Luminance0.4188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F285EF #85F288
analogous
#BE85F2 #F285EF #F285B8
triadic
#F285EF #EFF285 #85EFF2
tetradic
#F285EF #F2BE85 #85F288 #85B8F2
square
#F285EF #F2BE85 #85F288 #85B8F2
split-complementary
#F285EF #B8F285 #85F2BE
monochromatic
#E418DF #EC4EE8 #F285EF #F8BCF6 #FCE3FB

Accessibility & contrast

On white

2.24
#F285EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#F285EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F285EF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F285EF#FFFFFF#000000##000000
##F285EF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#9CB2EC
Tritanopia (blue-blind)
#F88FAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f285ef;
/* rgb */ color: rgb(242, 133, 239);
/* oklch */ color: oklch(77.1% 0.185 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8acf4',
    500: '#f285ef',
    950: '#000000',
  },
}
SCSS
$custom: #f285ef;
$custom-light: #f8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f285ef",
  "rgb": {
    "r": 242,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 301.651,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.18466,
    "h": 328.2
  },
  "luminance": 0.41884
}

Semantic roles & 50–950 ramp

primary
#F285EF
secondary
#D7F4D8
accent
#DD0E08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F285EF

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

Preview Lab → · Contrast checker → · Palette generator →

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