#B74DDB#B74DDB

#B74DDB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.220 H 316.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B74DDB
RGBrgb(183, 77, 219)
HSLhsl(285, 66%, 58%)
HSVhsv(285, 65%, 86%)
CMYKcmyk(16.4%, 64.8%, 0%, 14.1%)
CIE-LABlab(52.39, 63.49, -53.98)
CIE-LCHlch(52.39, 83.34, 319.63°)
OKLaboklab(61.71% 0.1591 -0.1514)
OKLCHoklch(61.71% 0.22 316.4)
XYZxyz(34.9666, 20.4908, 69.1173)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DDB #71DB4D
analogous
#704DDB #B74DDB #DB4DB8
triadic
#B74DDB #DBB74D #4DDBB7
tetradic
#B74DDB #DB704D #71DB4D #4DB8DB
square
#B74DDB #DB704D #71DB4D #4DB8DB
split-complementary
#B74DDB #B8DB4D #4DDB70
monochromatic
#731D90 #9C27C3 #B74DDB #CC80E5 #E0B3F0

Accessibility & contrast

On white

4.12
#B74DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B74DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DDB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DDB#FFFFFF#000000##000000
##B74DDB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1077DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#B5678E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b74ddb;
/* rgb */ color: rgb(183, 77, 219);
/* oklch */ color: oklch(61.7% 0.220 316.4);
Tailwind
colors: {
  custom: {
    50: '#d086e7',
    500: '#b74ddb',
    950: '#000000',
  },
}
SCSS
$custom: #b74ddb;
$custom-light: #d086e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ddb",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 284.789,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.21967,
    "h": 316.4
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#B74DDB
secondary
#B4DEA6
accent
#E93F6A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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