#BD74E8#BD74E8

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

Color values

HEX#BD74E8
RGBrgb(189, 116, 232)
HSLhsl(278, 72%, 68%)
HSVhsv(278, 50%, 91%)
CMYKcmyk(18.5%, 50%, 0%, 9%)
CIE-LABlab(60.90, 48.74, -47.69)
CIE-LCHlch(60.90, 68.19, 315.62°)
OKLaboklab(68.32% 0.1182 -0.1331)
OKLCHoklch(68.32% 0.178 311.6)
XYZxyz(41.7946, 29.1367, 79.7505)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD74E8 #9FE874
analogous
#8374E8 #BD74E8 #E874D9
triadic
#BD74E8 #E8BD74 #74E8BD
tetradic
#BD74E8 #E88374 #9FE874 #74D9E8
square
#BD74E8 #E88374 #9FE874 #74D9E8
split-complementary
#BD74E8 #D9E874 #74E883
monochromatic
#8620C2 #A43FDF #BD74E8 #D6A9F1 #EFDDF9

Accessibility & contrast

On white

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

On black

6.83
#BD74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD74E8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD74E8#FFFFFF#000000##000000
##BD74E81.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEC
Deuteranopia (green-blind)
#6D94E5
Tritanopia (blue-blind)
#B887A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bd74e8;
/* rgb */ color: rgb(189, 116, 232);
/* oklch */ color: oklch(68.3% 0.178 311.6);
Tailwind
colors: {
  custom: {
    50: '#d39ef0',
    500: '#bd74e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd74e8;
$custom-light: #d39ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd74e8",
  "rgb": {
    "r": 189,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 277.759,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68322,
    "c": 0.17805,
    "h": 311.6
  },
  "luminance": 0.29136
}

Semantic roles & 50–950 ramp

primary
#BD74E8
secondary
#D7EDCA
accent
#D4125A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BD74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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