#BD74E7#BD74E7

#BD74E7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.177 H 311.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BD74E7
RGBrgb(189, 116, 231)
HSLhsl(278, 71%, 68%)
HSVhsv(278, 50%, 91%)
CMYKcmyk(18.2%, 49.8%, 0%, 9.4%)
CIE-LABlab(60.85, 48.53, -47.22)
CIE-LCHlch(60.85, 67.71, 315.78°)
OKLaboklab(68.27% 0.1181 -0.1318)
OKLCHoklch(68.27% 0.177 311.9)
XYZxyz(41.6529, 29.0800, 79.0046)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD74E7 #9EE774
analogous
#8374E7 #BD74E7 #E774D7
triadic
#BD74E7 #E7BD74 #74E7BD
tetradic
#BD74E7 #E78374 #9EE774 #74D7E7
square
#BD74E7 #E78374 #9EE774 #74D7E7
split-complementary
#BD74E7 #D7E774 #74E783
monochromatic
#8621C0 #A440DE #BD74E7 #D6A8F0 #EFDCF9

Accessibility & contrast

On white

3.08
#BD74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BD74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD74E7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD74E7#FFFFFF#000000##000000
##BD74E71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#6E94E4
Tritanopia (blue-blind)
#B987A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bd74e7;
/* rgb */ color: rgb(189, 116, 231);
/* oklch */ color: oklch(68.3% 0.177 311.9);
Tailwind
colors: {
  custom: {
    50: '#d39eef',
    500: '#bd74e7',
    950: '#000000',
  },
}
SCSS
$custom: #bd74e7;
$custom-light: #d39eef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd74e7",
  "rgb": {
    "r": 189,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 278.087,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.17693,
    "h": 311.9
  },
  "luminance": 0.29079
}

Semantic roles & 50–950 ramp

primary
#BD74E7
secondary
#D7EDCA
accent
#D31359
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BD74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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