#B74BD7#B74BD7

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

Color values

HEX#B74BD7
RGBrgb(183, 75, 215)
HSLhsl(286, 64%, 57%)
HSVhsv(286, 65%, 84%)
CMYKcmyk(14.9%, 65.1%, 0%, 15.7%)
CIE-LABlab(51.85, 63.57, -52.57)
CIE-LCHlch(51.85, 82.49, 320.41°)
OKLaboklab(61.24% 0.1615 -0.1473)
OKLCHoklch(61.24% 0.219 317.6)
XYZxyz(34.3085, 20.0071, 66.3314)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74BD7 #6BD74B
analogous
#714BD7 #B74BD7 #D74BB1
triadic
#B74BD7 #D7B74B #4BD7B7
tetradic
#B74BD7 #D7714B #6BD74B #4BB1D7
square
#B74BD7 #D7714B #6BD74B #4BB1D7
split-complementary
#B74BD7 #B1D74B #4BD771
monochromatic
#711E89 #9A2ABB #B74BD7 #CB7DE2 #DFAFED

Accessibility & contrast

On white

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

On black

5.00
#B74BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74BD7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74BD7#FFFFFF#000000##000000
##B74BD71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1475DB
Deuteranopia (green-blind)
#507FD4
Tritanopia (blue-blind)
#B6648B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74bd7;
/* rgb */ color: rgb(183, 75, 215);
/* oklch */ color: oklch(61.2% 0.219 317.6);
Tailwind
colors: {
  custom: {
    50: '#d085e4',
    500: '#b74bd7',
    950: '#000000',
  },
}
SCSS
$custom: #b74bd7;
$custom-light: #d085e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b74bd7",
  "rgb": {
    "r": 183,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 286.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.21858,
    "h": 317.6
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#B74BD7
secondary
#AFDBA2
accent
#E74167
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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