#B742CB#B742CB

#B742CB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.219 H 321.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B742CB
RGBrgb(183, 66, 203)
HSLhsl(291, 57%, 53%)
HSVhsv(291, 67%, 80%)
CMYKcmyk(9.9%, 67.5%, 0%, 20.4%)
CIE-LABlab(49.83, 65.00, -48.92)
CIE-LCHlch(49.83, 81.36, 323.04°)
OKLaboklab(59.57% 0.1716 -0.1366)
OKLCHoklch(59.57% 0.219 321.5)
XYZxyz(32.2550, 18.2772, 58.3172)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742CB #56CB42
analogous
#7342CB #B742CB #CB429A
triadic
#B742CB #CBB742 #42CBB7
tetradic
#B742CB #CB7342 #56CB42 #429ACB
square
#B742CB #CB7342 #56CB42 #429ACB
split-complementary
#B742CB #9ACB42 #42CB73
monochromatic
#672073 #922DA3 #B742CB #C972D8 #DCA2E5

Accessibility & contrast

On white

4.51
#B742CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B742CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742CB#FFFFFF#000000##000000
##B742CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#B95A82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b742cb;
/* rgb */ color: rgb(183, 66, 203);
/* oklch */ color: oklch(59.6% 0.219 321.5);
Tailwind
colors: {
  custom: {
    50: '#d080db',
    500: '#b742cb',
    950: '#000000',
  },
}
SCSS
$custom: #b742cb;
$custom-light: #d080db;
$custom-dark: #000000;
JSON
{
  "hex": "#b742cb",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 291.241,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.21932,
    "h": 321.5
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#B742CB
secondary
#9FD297
accent
#E0485E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742CB

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

Preview Lab → · Contrast checker → · Palette generator →

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