#BD7FF2#BD7FF2

#BD7FF2 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.172 H 307.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BD7FF2
RGBrgb(189, 127, 242)
HSLhsl(272, 82%, 72%)
HSVhsv(272, 48%, 95%)
CMYKcmyk(21.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(63.68, 45.09, -48.84)
CIE-LCHlch(63.68, 66.48, 312.71°)
OKLaboklab(70.55% 0.1045 -0.1365)
OKLCHoklch(70.55% 0.172 307.4)
XYZxyz(44.5995, 32.4088, 87.8932)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FF2 #B4F27F
analogous
#847FF2 #BD7FF2 #F27FED
triadic
#BD7FF2 #F2BD7F #7FF2BD
tetradic
#BD7FF2 #F2847F #B4F27F #7FEDF2
square
#BD7FF2 #F2847F #B4F27F #7FEDF2
split-complementary
#BD7FF2 #EDF27F #7FF284
monochromatic
#8317E0 #A047EC #BD7FF2 #DAB7F8 #F1E3FC

Accessibility & contrast

On white

2.81
#BD7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BD7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FF2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FF2#FFFFFF#000000##000000
##BD7FF21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#B592AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7ff2;
/* rgb */ color: rgb(189, 127, 242);
/* oklch */ color: oklch(70.5% 0.172 307.4);
Tailwind
colors: {
  custom: {
    50: '#d3a5f7',
    500: '#bd7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ff2;
$custom-light: #d3a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ff2",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 272.348,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.17196,
    "h": 307.4
  },
  "luminance": 0.32408
}

Semantic roles & 50–950 ramp

primary
#BD7FF2
secondary
#E4F4D7
accent
#DE086A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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