#B742E8#B742E8

#B742E8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.245 H 313.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B742E8
RGBrgb(183, 66, 232)
HSLhsl(282, 78%, 58%)
HSVhsv(282, 72%, 91%)
CMYKcmyk(21.1%, 71.6%, 0%, 9%)
CIE-LABlab(51.60, 70.52, -62.59)
CIE-LCHlch(51.60, 94.29, 318.41°)
OKLaboklab(61.4% 0.1695 -0.1766)
OKLCHoklch(61.4% 0.245 313.8)
XYZxyz(36.0396, 19.7911, 78.2499)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742E8 #73E842
analogous
#6442E8 #B742E8 #E842C6
triadic
#B742E8 #E8B742 #42E8B7
tetradic
#B742E8 #E86442 #73E842 #42C6E8
square
#B742E8 #E86442 #73E842 #42C6E8
split-complementary
#B742E8 #C6E842 #42E864
monochromatic
#74139D #9C1AD3 #B742E8 #CC79EF #E1AFF5

Accessibility & contrast

On white

4.24
#B742E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B742E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742E8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742E8#FFFFFF#000000##000000
##B742E81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#367EE4
Tritanopia (blue-blind)
#B26691
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b742e8;
/* rgb */ color: rgb(183, 66, 232);
/* oklch */ color: oklch(61.4% 0.245 313.8);
Tailwind
colors: {
  custom: {
    50: '#d181f0',
    500: '#b742e8',
    950: '#000000',
  },
}
SCSS
$custom: #b742e8;
$custom-light: #d181f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b742e8",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 232
  },
  "hsl": {
    "h": 282.289,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.24479,
    "h": 313.8
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#B742E8
secondary
#B5E4A2
accent
#F5336C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #B742E8

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

Preview Lab → · Contrast checker → · Palette generator →

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