#B748E6#B748E6

#B748E6 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.236 H 313.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B748E6
RGBrgb(183, 72, 230)
HSLhsl(282, 76%, 59%)
HSVhsv(282, 69%, 90%)
CMYKcmyk(20.4%, 68.7%, 0%, 9.8%)
CIE-LABlab(52.30, 67.77, -60.33)
CIE-LCHlch(52.30, 90.73, 318.32°)
OKLaboklab(61.86% 0.1638 -0.17)
OKLCHoklch(61.86% 0.236 313.9)
XYZxyz(36.1263, 20.4163, 76.8853)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748E6 #77E648
analogous
#6848E6 #B748E6 #E648C6
triadic
#B748E6 #E6B748 #48E6B7
tetradic
#B748E6 #E66848 #77E648 #48C6E6
square
#B748E6 #E66848 #77E648 #48C6E6
split-complementary
#B748E6 #C6E648 #48E668
monochromatic
#75169E #9D1DD4 #B748E6 #CC7EED #E1B4F5

Accessibility & contrast

On white

4.13
#B748E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B748E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748E6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748E6#FFFFFF#000000##000000
##B748E61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#3F7FE2
Tritanopia (blue-blind)
#B36992
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b748e6;
/* rgb */ color: rgb(183, 72, 230);
/* oklch */ color: oklch(61.9% 0.236 313.9);
Tailwind
colors: {
  custom: {
    50: '#d184ef',
    500: '#b748e6',
    950: '#000000',
  },
}
SCSS
$custom: #b748e6;
$custom-light: #d184ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b748e6",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 282.152,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61863,
    "c": 0.2361,
    "h": 313.9
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#B748E6
secondary
#B8E4A6
accent
#F3356E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B748E6

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

Preview Lab → · Contrast checker → · Palette generator →

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