#ED7BEF#ED7BEF

#ED7BEF is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.2% C 0.198 H 326.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ED7BEF
RGBrgb(237, 123, 239)
HSLhsl(299, 78%, 71%)
HSVhsv(299, 49%, 94%)
CMYKcmyk(0.8%, 48.5%, 0%, 6.3%)
CIE-LABlab(68.32, 59.65, -39.51)
CIE-LCHlch(68.32, 71.55, 326.48°)
OKLaboklab(75.16% 0.1651 -0.1085)
OKLCHoklch(75.16% 0.198 326.7)
XYZxyz(57.5869, 38.4055, 86.0243)
Luminance0.3840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7BEF #7DEF7B
analogous
#B37BEF #ED7BEF #EF7BB7
triadic
#ED7BEF #EFED7B #7BEFED
tetradic
#ED7BEF #EFB37B #7DEF7B #7BB7EF
square
#ED7BEF #EFB37B #7DEF7B #7BB7EF
split-complementary
#ED7BEF #B7EF7B #7BEFB3
monochromatic
#D21AD6 #E644E8 #ED7BEF #F4B2F6 #FBE4FC

Accessibility & contrast

On white

2.42
#ED7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#ED7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7BEF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7BEF#FFFFFF#000000##000000
##ED7BEF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#F388AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7bef;
/* rgb */ color: rgb(237, 123, 239);
/* oklch */ color: oklch(75.2% 0.198 326.7);
Tailwind
colors: {
  custom: {
    50: '#f5a5f4',
    500: '#ed7bef',
    950: '#000000',
  },
}
SCSS
$custom: #ed7bef;
$custom-light: #f5a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7bef",
  "rgb": {
    "r": 237,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 298.966,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75156,
    "c": 0.19752,
    "h": 326.7
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#ED7BEF
secondary
#D4F2D3
accent
#DB0B0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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