#B74DD2#B74DD2

#B74DD2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.211 H 318.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B74DD2
RGBrgb(183, 77, 210)
HSLhsl(288, 60%, 56%)
HSVhsv(288, 63%, 82%)
CMYKcmyk(12.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(51.87, 61.74, -49.68)
CIE-LCHlch(51.87, 79.24, 321.18°)
OKLaboklab(61.17% 0.1593 -0.1389)
OKLCHoklch(61.17% 0.211 318.9)
XYZxyz(33.8136, 20.0297, 63.0453)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DD2 #68D24D
analogous
#754DD2 #B74DD2 #D24DAA
triadic
#B74DD2 #D2B74D #4DD2B7
tetradic
#B74DD2 #D2754D #68D24D #4DAAD2
square
#B74DD2 #D2754D #68D24D #4DAAD2
split-complementary
#B74DD2 #AAD24D #4DD275
monochromatic
#6F2183 #992EB4 #B74DD2 #CB7EDE #DFAFEB

Accessibility & contrast

On white

4.20
#B74DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B74DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DD2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DD2#FFFFFF#000000##000000
##B74DD21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#B76489
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74dd2;
/* rgb */ color: rgb(183, 77, 210);
/* oklch */ color: oklch(61.2% 0.211 318.9);
Tailwind
colors: {
  custom: {
    50: '#d086e0',
    500: '#b74dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b74dd2;
$custom-light: #d086e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dd2",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 287.82,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.21132,
    "h": 318.9
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#B74DD2
secondary
#ADD9A2
accent
#E34565
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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