#FFBAF5#FFBAF5

#FFBAF5 is a very light, moderate purple. Relative luminance 0.630; OKLCH L 87.0% C 0.109 H 331.6°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#FFBAF5
RGBrgb(255, 186, 245)
HSLhsl(309, 100%, 86%)
HSVhsv(309, 27%, 100%)
CMYKcmyk(0%, 27.1%, 3.9%, 0%)
CIE-LABlab(83.43, 34.04, -19.39)
CIE-LCHlch(83.43, 39.17, 330.34°)
OKLaboklab(87.05% 0.0961 -0.052)
OKLCHoklch(87.05% 0.109 331.6)
XYZxyz(75.2791, 62.9730, 94.5581)
Luminance0.6297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFBAF5 #BAFFC4
analogous
#E7BAFF #FFBAF5 #FFBAD3
triadic
#FFBAF5 #F5FFBA #BAF5FF
tetradic
#FFBAF5 #FFE7BA #BAFFC4 #BAD3FF
square
#FFBAF5 #FFE7BA #BAFFC4 #BAD3FF
split-complementary
#FFBAF5 #D3FFBA #BAFFE7
monochromatic
#FF40E3 #FF7DEC #FFBAF5 #FFE0FB #FFE0FB

Accessibility & contrast

On white

1.54
#FFBAF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#FFBAF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFBAF5
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFBAF5#FFFFFF#000000##000000
##FFBAF51.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8CAF7
Deuteranopia (green-blind)
#C9D3F3
Tritanopia (blue-blind)
#FFBECF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ffbaf5;
/* rgb */ color: rgb(255, 186, 245);
/* oklch */ color: oklch(87.0% 0.109 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffcff8',
    500: '#ffbaf5',
    950: '#000000',
  },
}
SCSS
$custom: #ffbaf5;
$custom-light: #ffcff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffbaf5",
  "rgb": {
    "r": 255,
    "g": 186,
    "b": 245
  },
  "hsl": {
    "h": 308.696,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.87048,
    "c": 0.10925,
    "h": 331.6
  },
  "luminance": 0.6297
}

Semantic roles & 50–950 ramp

primary
#FFBAF5
secondary
#76E787
accent
#E62100
background
#FFFEFF
surface
#FFFBFF
border
#D7D4D7
text
#181417
muted
#868385

Preview Lab

Preview with #FFBAF5

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

Preview Lab → · Contrast checker → · Palette generator →

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