#BD38CA#BD38CA

#BD38CA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.233 H 324.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BD38CA
RGBrgb(189, 56, 202)
HSLhsl(295, 58%, 51%)
HSVhsv(295, 72%, 79%)
CMYKcmyk(6.4%, 72.3%, 0%, 20.8%)
CIE-LABlab(49.39, 69.78, -48.99)
CIE-LCHlch(49.39, 85.26, 324.93°)
OKLaboklab(59.42% 0.1883 -0.1366)
OKLCHoklch(59.42% 0.233 324.1)
XYZxyz(33.0602, 17.9135, 57.5820)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD38CA #45CA38
analogous
#7438CA #BD38CA #CA388E
triadic
#BD38CA #CABD38 #38CABD
tetradic
#BD38CA #CA7438 #45CA38 #388ECA
square
#BD38CA #CA7438 #45CA38 #388ECA
split-complementary
#BD38CA #8ECA38 #38CA74
monochromatic
#641D6B #91299B #BD38CA #CD68D7 #DD99E4

Accessibility & contrast

On white

4.58
#BD38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BD38CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD38CA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD38CA#FFFFFF#000000##000000
##BD38CA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#C1527E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bd38ca;
/* rgb */ color: rgb(189, 56, 202);
/* oklch */ color: oklch(59.4% 0.233 324.1);
Tailwind
colors: {
  custom: {
    50: '#d57cdb',
    500: '#bd38ca',
    950: '#000000',
  },
}
SCSS
$custom: #bd38ca;
$custom-light: #d57cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd38ca",
  "rgb": {
    "r": 189,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 294.658,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.23264,
    "h": 324.1
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#BD38CA
secondary
#94CF8E
accent
#E14754
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BD38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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