#FB85EC#FB85EC

#FB85EC is a light, vivid purple. Relative luminance 0.433; OKLCH L 78.1% C 0.188 H 332.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#FB85EC
RGBrgb(251, 133, 236)
HSLhsl(308, 94%, 75%)
HSVhsv(308, 47%, 98%)
CMYKcmyk(0%, 47%, 6%, 1.6%)
CIE-LABlab(71.79, 58.27, -32.34)
CIE-LCHlch(71.79, 66.64, 330.97°)
OKLaboklab(78.06% 0.1662 -0.0879)
OKLCHoklch(78.06% 0.188 332.1)
XYZxyz(63.3111, 43.3442, 84.3722)
Luminance0.4334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB85EC #85FB94
analogous
#CF85FB #FB85EC #FB85B1
triadic
#FB85EC #ECFB85 #85ECFB
tetradic
#FB85EC #FBCF85 #85FB94 #85B1FB
square
#FB85EC #FBCF85 #85FB94 #85B1FB
split-complementary
#FB85EC #B1FB85 #85FBCF
monochromatic
#F70EDA #F94AE3 #FB85EC #FDC0F5 #FEE1FA

Accessibility & contrast

On white

2.17
#FB85EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#FB85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB85EC
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB85EC#FFFFFF#000000##000000
##FB85EC1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5F0
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#FF8DAE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb85ec;
/* rgb */ color: rgb(251, 133, 236);
/* oklch */ color: oklch(78.1% 0.188 332.1);
Tailwind
colors: {
  custom: {
    50: '#ffacf2',
    500: '#fb85ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb85ec;
$custom-light: #ffacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb85ec",
  "rgb": {
    "r": 251,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 307.627,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78059,
    "c": 0.18798,
    "h": 332.1
  },
  "luminance": 0.4334
}

Semantic roles & 50–950 ramp

primary
#FB85EC
secondary
#D5F6D9
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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