#BD42FB#BD42FB

#BD42FB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 63.4% C 0.263 H 311.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BD42FB
RGBrgb(189, 66, 251)
HSLhsl(280, 96%, 62%)
HSVhsv(280, 74%, 98%)
CMYKcmyk(24.7%, 73.7%, 0%, 1.6%)
CIE-LABlab(53.69, 75.39, -69.82)
CIE-LCHlch(53.69, 102.75, 317.20°)
OKLaboklab(63.45% 0.1742 -0.1977)
OKLCHoklch(63.45% 0.263 311.4)
XYZxyz(40.3438, 21.6813, 93.3078)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42FB #80FB42
analogous
#6142FB #BD42FB #FB42DC
triadic
#BD42FB #FBBD42 #42FBBD
tetradic
#BD42FB #FB6142 #80FB42 #42DCFB
square
#BD42FB #FB6142 #80FB42 #42DCFB
split-complementary
#BD42FB #DCFB42 #42FB61
monochromatic
#8004BF #A806FA #BD42FB #D27EFC #E7BAFE

Accessibility & contrast

On white

3.94
#BD42FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BD42FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42FB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42FB#FFFFFF#000000##000000
##BD42FB1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#1F82F7
Tritanopia (blue-blind)
#B56D9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bd42fb;
/* rgb */ color: rgb(189, 66, 251);
/* oklch */ color: oklch(63.4% 0.263 311.4);
Tailwind
colors: {
  custom: {
    50: '#d682fe',
    500: '#bd42fb',
    950: '#000000',
  },
}
SCSS
$custom: #bd42fb;
$custom-light: #d682fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42fb",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 251
  },
  "hsl": {
    "h": 279.892,
    "s": 95.855,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63448,
    "c": 0.26345,
    "h": 311.4
  },
  "luminance": 0.2168
}

Semantic roles & 50–950 ramp

primary
#BD42FB
secondary
#C1EEAA
accent
#E6004D
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BD42FB

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

Preview Lab → · Contrast checker → · Palette generator →

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