#EDA2FB#EDA2FB

#EDA2FB is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.5% C 0.145 H 321.1°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#EDA2FB
RGBrgb(237, 162, 251)
HSLhsl(291, 92%, 81%)
HSVhsv(291, 35%, 98%)
CMYKcmyk(5.6%, 35.5%, 0%, 1.6%)
CIE-LABlab(76.57, 42.11, -33.26)
CIE-LCHlch(76.57, 53.65, 321.70°)
OKLaboklab(81.49% 0.1127 -0.0909)
OKLCHoklch(81.49% 0.145 321.1)
XYZxyz(65.2559, 50.8123, 97.6184)
Luminance0.5081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDA2FB #B0FBA2
analogous
#C0A2FB #EDA2FB #FBA2DC
triadic
#EDA2FB #FBEDA2 #A2FBED
tetradic
#EDA2FB #FBC0A2 #B0FBA2 #A2DCFB
square
#EDA2FB #FBC0A2 #B0FBA2 #A2DCFB
split-complementary
#EDA2FB #DCFBA2 #A2FBC0
monochromatic
#D62DF6 #E267F8 #EDA2FB #F8DDFE #F9E2FE

Accessibility & contrast

On white

1.88
#EDA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#EDA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDA2FB
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDA2FB#FFFFFF#000000##000000
##EDA2FB1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FE
Deuteranopia (green-blind)
#AAC0F8
Tritanopia (blue-blind)
#EFACC3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #eda2fb;
/* rgb */ color: rgb(237, 162, 251);
/* oklch */ color: oklch(81.5% 0.145 321.1);
Tailwind
colors: {
  custom: {
    50: '#f4befd',
    500: '#eda2fb',
    950: '#000000',
  },
}
SCSS
$custom: #eda2fb;
$custom-light: #f4befd;
$custom-dark: #000000;
JSON
{
  "hex": "#eda2fb",
  "rgb": {
    "r": 237,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 290.562,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.81485,
    "c": 0.14483,
    "h": 321.1
  },
  "luminance": 0.5081
}

Semantic roles & 50–950 ramp

primary
#EDA2FB
secondary
#77DD64
accent
#E60024
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EDA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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