#BD7FE4#BD7FE4

#BD7FE4 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.156 H 311.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#BD7FE4
RGBrgb(189, 127, 228)
HSLhsl(277, 65%, 70%)
HSVhsv(277, 44%, 89%)
CMYKcmyk(17.1%, 44.3%, 0%, 10.6%)
CIE-LABlab(63.01, 42.01, -42.15)
CIE-LCHlch(63.01, 59.51, 314.91°)
OKLaboklab(69.83% 0.1026 -0.1171)
OKLCHoklch(69.83% 0.156 311.2)
XYZxyz(42.5767, 31.5998, 77.2402)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FE4 #A6E47F
analogous
#8B7FE4 #BD7FE4 #E47FD8
triadic
#BD7FE4 #E4BD7F #7FE4BD
tetradic
#BD7FE4 #E48B7F #A6E47F #7FD8E4
square
#BD7FE4 #E48B7F #A6E47F #7FD8E4
split-complementary
#BD7FE4 #D8E47F #7FE48B
monochromatic
#8629C0 #A34CD9 #BD7FE4 #D7B2EF #F1E4F9

Accessibility & contrast

On white

2.87
#BD7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#BD7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FE4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FE4#FFFFFF#000000##000000
##BD7FE41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#B98EA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7fe4;
/* rgb */ color: rgb(189, 127, 228);
/* oklch */ color: oklch(69.8% 0.156 311.2);
Tailwind
colors: {
  custom: {
    50: '#d2a5ed',
    500: '#bd7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fe4;
$custom-light: #d2a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fe4",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 276.832,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.15569,
    "h": 311.2
  },
  "luminance": 0.31599
}

Semantic roles & 50–950 ramp

primary
#BD7FE4
secondary
#DCEED1
accent
#CD195E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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