#BD74EC#BD74EC

#BD74EC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.182 H 310.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#BD74EC
RGBrgb(189, 116, 236)
HSLhsl(277, 76%, 69%)
HSVhsv(277, 51%, 93%)
CMYKcmyk(19.9%, 50.8%, 0%, 7.5%)
CIE-LABlab(61.10, 49.61, -49.60)
CIE-LCHlch(61.10, 70.15, 315.01°)
OKLaboklab(68.54% 0.1186 -0.1387)
OKLCHoklch(68.54% 0.182 310.5)
XYZxyz(42.3692, 29.3665, 82.7769)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD74EC #A3EC74
analogous
#8174EC #BD74EC #EC74DF
triadic
#BD74EC #ECBD74 #74ECBD
tetradic
#BD74EC #EC8174 #A3EC74 #74DFEC
square
#BD74EC #EC8174 #A3EC74 #74DFEC
split-complementary
#BD74EC #DFEC74 #74EC81
monochromatic
#861CCA #A33EE5 #BD74EC #D7AAF3 #F0E0FB

Accessibility & contrast

On white

3.06
#BD74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#BD74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD74EC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD74EC#FFFFFF#000000##000000
##BD74EC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#B788A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bd74ec;
/* rgb */ color: rgb(189, 116, 236);
/* oklch */ color: oklch(68.5% 0.182 310.5);
Tailwind
colors: {
  custom: {
    50: '#d39ef2',
    500: '#bd74ec',
    950: '#000000',
  },
}
SCSS
$custom: #bd74ec;
$custom-light: #d39ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd74ec",
  "rgb": {
    "r": 189,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 276.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68537,
    "c": 0.18248,
    "h": 310.5
  },
  "luminance": 0.29366
}

Semantic roles & 50–950 ramp

primary
#BD74EC
secondary
#DAEFCC
accent
#D80D5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BD74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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