#B74BD5#B74BD5

#B74BD5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.217 H 318.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B74BD5
RGBrgb(183, 75, 213)
HSLhsl(287, 62%, 56%)
HSVhsv(287, 65%, 84%)
CMYKcmyk(14.1%, 64.8%, 0%, 16.5%)
CIE-LABlab(51.73, 63.18, -51.62)
CIE-LCHlch(51.73, 81.59, 320.75°)
OKLaboklab(61.12% 0.1615 -0.1445)
OKLCHoklch(61.12% 0.217 318.2)
XYZxyz(34.0531, 19.9050, 64.9862)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74BD5 #69D54B
analogous
#724BD5 #B74BD5 #D54BAE
triadic
#B74BD5 #D5B74B #4BD5B7
tetradic
#B74BD5 #D5724B #69D54B #4BAED5
square
#B74BD5 #D5724B #69D54B #4BAED5
split-complementary
#B74BD5 #AED54B #4BD572
monochromatic
#701F86 #992BB8 #B74BD5 #CB7DE1 #DFAEEC

Accessibility & contrast

On white

4.22
#B74BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B74BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74BD5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74BD5#FFFFFF#000000##000000
##B74BD51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#B6648A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b74bd5;
/* rgb */ color: rgb(183, 75, 213);
/* oklch */ color: oklch(61.1% 0.217 318.2);
Tailwind
colors: {
  custom: {
    50: '#d085e2',
    500: '#b74bd5',
    950: '#000000',
  },
}
SCSS
$custom: #b74bd5;
$custom-light: #d085e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b74bd5",
  "rgb": {
    "r": 183,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 286.957,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.21674,
    "h": 318.2
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#B74BD5
secondary
#AEDAA2
accent
#E54366
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B74BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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