#B742CC#B742CC

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

Color values

HEX#B742CC
RGBrgb(183, 66, 204)
HSLhsl(291, 58%, 53%)
HSVhsv(291, 68%, 80%)
CMYKcmyk(10.3%, 67.6%, 0%, 20%)
CIE-LABlab(49.89, 65.19, -49.40)
CIE-LCHlch(49.89, 81.79, 322.84°)
OKLaboklab(59.63% 0.1716 -0.138)
OKLCHoklch(59.63% 0.22 321.2)
XYZxyz(32.3745, 18.3250, 58.9468)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742CC #57CC42
analogous
#7242CC #B742CC #CC429C
triadic
#B742CC #CCB742 #42CCB7
tetradic
#B742CC #CC7242 #57CC42 #429CCC
square
#B742CC #CC7242 #57CC42 #429CCC
split-complementary
#B742CC #9CCC42 #42CC72
monochromatic
#671F74 #922CA4 #B742CC #C972D9 #DCA2E6

Accessibility & contrast

On white

4.50
#B742CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B742CC#FFFFFF#000000##000000
##B742CC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#B95A82
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b742cc;
/* rgb */ color: rgb(183, 66, 204);
/* oklch */ color: oklch(59.6% 0.220 321.2);
Tailwind
colors: {
  custom: {
    50: '#d080dc',
    500: '#b742cc',
    950: '#000000',
  },
}
SCSS
$custom: #b742cc;
$custom-light: #d080dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b742cc",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 290.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.22018,
    "h": 321.2
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#B742CC
secondary
#A0D397
accent
#E1475E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742CC

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

Preview Lab → · Contrast checker → · Palette generator →

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