#ECB2F7#ECB2F7

#ECB2F7 is a very light, moderate purple. Relative luminance 0.564; OKLCH L 83.9% C 0.113 H 321.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#ECB2F7
RGBrgb(236, 178, 247)
HSLhsl(290, 81%, 83%)
HSVhsv(290, 28%, 97%)
CMYKcmyk(4.5%, 27.9%, 0%, 3.1%)
CIE-LABlab(79.84, 32.56, -26.09)
CIE-LCHlch(79.84, 41.73, 321.30°)
OKLaboklab(83.9% 0.0874 -0.0708)
OKLCHoklch(83.9% 0.113 321)
XYZxyz(67.2988, 56.3907, 95.3170)
Luminance0.5639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB2F7 #BDF7B2
analogous
#C9B2F7 #ECB2F7 #F7B2DF
triadic
#ECB2F7 #F7ECB2 #B2F7EC
tetradic
#ECB2F7 #F7C9B2 #BDF7B2 #B2DFF7
square
#ECB2F7 #F7C9B2 #BDF7B2 #B2DFF7
split-complementary
#ECB2F7 #DFF7B2 #B2F7C9
monochromatic
#D143EB #DE7BF1 #ECB2F7 #F8E3FC #F8E3FC

Accessibility & contrast

On white

1.71
#ECB2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#ECB2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB2F7
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB2F7#FFFFFF#000000##000000
##ECB2F71.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC2FA
Deuteranopia (green-blind)
#B8C8F5
Tritanopia (blue-blind)
#EEB9CB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecb2f7;
/* rgb */ color: rgb(236, 178, 247);
/* oklch */ color: oklch(83.9% 0.113 321.0);
Tailwind
colors: {
  custom: {
    50: '#f3c9fa',
    500: '#ecb2f7',
    950: '#000000',
  },
}
SCSS
$custom: #ecb2f7;
$custom-light: #f3c9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb2f7",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 247
  },
  "hsl": {
    "h": 290.435,
    "s": 81.176,
    "l": 83.333
  },
  "oklch": {
    "l": 0.83899,
    "c": 0.11252,
    "h": 321
  },
  "luminance": 0.56389
}

Semantic roles & 50–950 ramp

primary
#ECB2F7
secondary
#84D974
accent
#DE082A
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECB2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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