#B748E8#B748E8

#B748E8 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.238 H 313.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B748E8
RGBrgb(183, 72, 232)
HSLhsl(282, 78%, 60%)
HSVhsv(282, 69%, 91%)
CMYKcmyk(21.1%, 69%, 0%, 9%)
CIE-LABlab(52.43, 68.17, -61.26)
CIE-LCHlch(52.43, 91.65, 318.06°)
OKLaboklab(61.99% 0.1636 -0.1727)
OKLCHoklch(61.99% 0.238 313.4)
XYZxyz(36.4088, 20.5293, 78.3729)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748E8 #79E848
analogous
#6748E8 #B748E8 #E848C9
triadic
#B748E8 #E8B748 #48E8B7
tetradic
#B748E8 #E86748 #79E848 #48C9E8
square
#B748E8 #E86748 #79E848 #48C9E8
split-complementary
#B748E8 #C9E848 #48E867
monochromatic
#7614A1 #9E1BD8 #B748E8 #CC7EEF #E2B5F6

Accessibility & contrast

On white

4.11
#B748E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B748E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748E8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748E8#FFFFFF#000000##000000
##B748E81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#3C80E4
Tritanopia (blue-blind)
#B26993
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b748e8;
/* rgb */ color: rgb(183, 72, 232);
/* oklch */ color: oklch(62.0% 0.238 313.4);
Tailwind
colors: {
  custom: {
    50: '#d184f0',
    500: '#b748e8',
    950: '#000000',
  },
}
SCSS
$custom: #b748e8;
$custom-light: #d184f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b748e8",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 281.625,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.23794,
    "h": 313.4
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#B748E8
secondary
#BAE5A7
accent
#F4346F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #B748E8

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

Preview Lab → · Contrast checker → · Palette generator →

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