#B74DD6#B74DD6

#B74DD6 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.215 H 317.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B74DD6
RGBrgb(183, 77, 214)
HSLhsl(286, 63%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(14.5%, 64%, 0%, 16.1%)
CIE-LABlab(52.10, 62.51, -51.60)
CIE-LCHlch(52.10, 81.06, 320.47°)
OKLaboklab(61.41% 0.1593 -0.1445)
OKLCHoklch(61.41% 0.215 317.8)
XYZxyz(34.3182, 20.2315, 65.7026)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DD6 #6CD64D
analogous
#724DD6 #B74DD6 #D64DB1
triadic
#B74DD6 #D6B74D #4DD6B7
tetradic
#B74DD6 #D6724D #6CD64D #4DB1D6
square
#B74DD6 #D6724D #6CD64D #4DB1D6
split-complementary
#B74DD6 #B1D64D #4DD672
monochromatic
#712089 #9A2BBB #B74DD6 #CB7FE1 #DFB0ED

Accessibility & contrast

On white

4.16
#B74DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B74DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DD6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DD6#FFFFFF#000000##000000
##B74DD61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D75DA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#B6658B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74dd6;
/* rgb */ color: rgb(183, 77, 214);
/* oklch */ color: oklch(61.4% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#d086e3',
    500: '#b74dd6',
    950: '#000000',
  },
}
SCSS
$custom: #b74dd6;
$custom-light: #d086e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dd6",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 286.423,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61407,
    "c": 0.21502,
    "h": 317.8
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#B74DD6
secondary
#B0DBA4
accent
#E64267
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B74DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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