#B742C8#B742C8

#B742C8 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.217 H 322.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B742C8
RGBrgb(183, 66, 200)
HSLhsl(292, 55%, 52%)
HSVhsv(292, 67%, 78%)
CMYKcmyk(8.5%, 67%, 0%, 21.6%)
CIE-LABlab(49.66, 64.46, -47.46)
CIE-LCHlch(49.66, 80.05, 323.63°)
OKLaboklab(59.39% 0.1716 -0.1323)
OKLCHoklch(59.39% 0.217 322.4)
XYZxyz(31.9009, 18.1356, 56.4526)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742C8 #53C842
analogous
#7442C8 #B742C8 #C84296
triadic
#B742C8 #C8B742 #42C8B7
tetradic
#B742C8 #C87442 #53C842 #4296C8
square
#B742C8 #C87442 #53C842 #4296C8
split-complementary
#B742C8 #96C842 #42C874
monochromatic
#65206F #902E9F #B742C8 #C971D6 #DBA1E4

Accessibility & contrast

On white

4.54
#B742C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B742C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742C8#FFFFFF#000000##000000
##B742C81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#B95980
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b742c8;
/* rgb */ color: rgb(183, 66, 200);
/* oklch */ color: oklch(59.4% 0.217 322.4);
Tailwind
colors: {
  custom: {
    50: '#d07fd9',
    500: '#b742c8',
    950: '#000000',
  },
}
SCSS
$custom: #b742c8;
$custom-light: #d07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b742c8",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 292.388,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.21674,
    "h": 322.4
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#B742C8
secondary
#9DD096
accent
#DE4A5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742C8

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

Preview Lab → · Contrast checker → · Palette generator →

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