#BD38CD#BD38CD

#BD38CD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.235 H 323.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BD38CD
RGBrgb(189, 56, 205)
HSLhsl(294, 60%, 51%)
HSVhsv(294, 73%, 80%)
CMYKcmyk(7.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(49.56, 70.29, -50.44)
CIE-LCHlch(49.56, 86.52, 324.34°)
OKLaboklab(59.6% 0.1882 -0.1408)
OKLCHoklch(59.6% 0.235 323.2)
XYZxyz(33.4188, 18.0569, 59.4709)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38CD #48CD38
analogous
#7238CD #BD38CD #CD3892
triadic
#BD38CD #CDBD38 #38CDBD
tetradic
#BD38CD #CD7238 #48CD38 #3892CD
square
#BD38CD #CD7238 #48CD38 #3892CD
split-complementary
#BD38CD #92CD38 #38CD72
monochromatic
#661C6F #9328A0 #BD38CD #CD69D9 #DD9AE6

Accessibility & contrast

On white

4.55
#BD38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BD38CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38CD#FFFFFF#000000##000000
##BD38CD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#C05380
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd38cd;
/* rgb */ color: rgb(189, 56, 205);
/* oklch */ color: oklch(59.6% 0.235 323.2);
Tailwind
colors: {
  custom: {
    50: '#d57cdd',
    500: '#bd38cd',
    950: '#000000',
  },
}
SCSS
$custom: #bd38cd;
$custom-light: #d57cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38cd",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 293.557,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.23503,
    "h": 323.2
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#BD38CD
secondary
#97D18F
accent
#E34556
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BD38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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