#F2A5EB#F2A5EB

#F2A5EB is a light, vivid purple. Relative luminance 0.518; OKLCH L 81.9% C 0.127 H 329.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#F2A5EB
RGBrgb(242, 165, 235)
HSLhsl(305, 75%, 80%)
HSVhsv(305, 32%, 95%)
CMYKcmyk(0%, 31.8%, 2.9%, 5.1%)
CIE-LABlab(77.15, 39.14, -23.65)
CIE-LCHlch(77.15, 45.73, 328.86°)
OKLaboklab(81.86% 0.1099 -0.0638)
OKLCHoklch(81.86% 0.127 329.9)
XYZxyz(65.0674, 51.7883, 85.1498)
Luminance0.5179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2A5EB #A5F2AC
analogous
#D3A5F2 #F2A5EB #F2A5C4
triadic
#F2A5EB #EBF2A5 #A5EBF2
tetradic
#F2A5EB #F2D3A5 #A5F2AC #A5C4F2
square
#F2A5EB #F2D3A5 #A5F2AC #A5C4F2
split-complementary
#F2A5EB #C4F2A5 #A5F2D3
monochromatic
#E33AD3 #EA70DF #F2A5EB #FADAF7 #FBE4F9

Accessibility & contrast

On white

1.85
#F2A5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#F2A5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2A5EB
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2A5EB#FFFFFF#000000##000000
##F2A5EB1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8EE
Deuteranopia (green-blind)
#B5C2E8
Tritanopia (blue-blind)
#F8AABE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f2a5eb;
/* rgb */ color: rgb(242, 165, 235);
/* oklch */ color: oklch(81.9% 0.127 329.9);
Tailwind
colors: {
  custom: {
    50: '#f7c0f1',
    500: '#f2a5eb',
    950: '#000000',
  },
}
SCSS
$custom: #f2a5eb;
$custom-light: #f7c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2a5eb",
  "rgb": {
    "r": 242,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 305.455,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81857,
    "c": 0.12711,
    "h": 329.9
  },
  "luminance": 0.51786
}

Semantic roles & 50–950 ramp

primary
#F2A5EB
secondary
#6BD174
accent
#D7210F
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F2A5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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