#BD5EC2#BD5EC2

#BD5EC2 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.2% C 0.174 H 325.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BD5EC2
RGBrgb(189, 94, 194)
HSLhsl(297, 45%, 56%)
HSVhsv(297, 52%, 76%)
CMYKcmyk(2.6%, 51.5%, 0%, 23.9%)
CIE-LABlab(54.78, 52.34, -35.86)
CIE-LCHlch(54.78, 63.45, 325.58°)
OKLaboklab(63.2% 0.1437 -0.0988)
OKLCHoklch(63.2% 0.174 325.5)
XYZxyz(34.7258, 22.7211, 53.5850)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5EC2 #63C25E
analogous
#8B5EC2 #BD5EC2 #C25E95
triadic
#BD5EC2 #C2BD5E #5EC2BD
tetradic
#BD5EC2 #C28B5E #63C25E #5E95C2
square
#BD5EC2 #C28B5E #63C25E #5E95C2
split-complementary
#BD5EC2 #95C25E #5EC28B
monochromatic
#742E78 #9F3EA4 #BD5EC2 #CF8AD3 #E1B7E4

Accessibility & contrast

On white

3.79
#BD5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BD5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5EC2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5EC2#FFFFFF#000000##000000
##BD5EC21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#C16A87
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd5ec2;
/* rgb */ color: rgb(189, 94, 194);
/* oklch */ color: oklch(63.2% 0.174 325.5);
Tailwind
colors: {
  custom: {
    50: '#d390d5',
    500: '#bd5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #bd5ec2;
$custom-light: #d390d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5ec2",
  "rgb": {
    "r": 189,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 297,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.17433,
    "h": 325.5
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#BD5EC2
secondary
#ABD2A9
accent
#D5535A
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BD5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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