#F2B7FF#F2B7FF

#F2B7FF is a very light, moderate purple. Relative luminance 0.600; OKLCH L 85.6% C 0.116 H 320.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#F2B7FF
RGBrgb(242, 183, 255)
HSLhsl(289, 100%, 86%)
HSVhsv(289, 28%, 100%)
CMYKcmyk(5.1%, 28.2%, 0%, 0%)
CIE-LABlab(81.82, 33.31, -27.29)
CIE-LCHlch(81.82, 43.06, 320.67°)
OKLaboklab(85.64% 0.089 -0.0742)
OKLCHoklch(85.64% 0.116 320.2)
XYZxyz(71.5991, 59.9659, 102.3912)
Luminance0.5996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2B7FF #C4FFB7
analogous
#CEB7FF #F2B7FF #FFB7E8
triadic
#F2B7FF #FFF2B7 #B7FFF2
tetradic
#F2B7FF #FFCEB7 #C4FFB7 #B7E8FF
square
#F2B7FF #FFCEB7 #C4FFB7 #B7E8FF
split-complementary
#F2B7FF #E8FFB7 #B7FFCE
monochromatic
#DC3DFF #E77AFF #F2B7FF #F9E0FF #F9E0FF

Accessibility & contrast

On white

1.62
#F2B7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#F2B7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2B7FF
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2B7FF#FFFFFF#000000##000000
##F2B7FF1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#BCCEFD
Tritanopia (blue-blind)
#F3BFD1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f2b7ff;
/* rgb */ color: rgb(242, 183, 255);
/* oklch */ color: oklch(85.6% 0.116 320.2);
Tailwind
colors: {
  custom: {
    50: '#f7cdff',
    500: '#f2b7ff',
    950: '#000000',
  },
}
SCSS
$custom: #f2b7ff;
$custom-light: #f7cdff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2b7ff",
  "rgb": {
    "r": 242,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 289.167,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.85639,
    "c": 0.11585,
    "h": 320.2
  },
  "luminance": 0.59964
}

Semantic roles & 50–950 ramp

primary
#F2B7FF
secondary
#88E674
accent
#E60029
background
#FFFEFF
surface
#FFFAFF
border
#D7D3D7
text
#171318
muted
#858386

Preview Lab

Preview with #F2B7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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