#B742CF#B742CF

#B742CF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.223 H 320.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B742CF
RGBrgb(183, 66, 207)
HSLhsl(290, 59%, 54%)
HSVhsv(290, 68%, 81%)
CMYKcmyk(11.6%, 68.1%, 0%, 18.8%)
CIE-LABlab(50.06, 65.74, -50.85)
CIE-LCHlch(50.06, 83.11, 322.28°)
OKLaboklab(59.81% 0.1715 -0.1422)
OKLCHoklch(59.81% 0.223 320.3)
XYZxyz(32.7378, 18.4703, 60.8601)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742CF #5ACF42
analogous
#7042CF #B742CF #CF42A0
triadic
#B742CF #CFB742 #42CFB7
tetradic
#B742CF #CF7042 #5ACF42 #42A0CF
square
#B742CF #CF7042 #5ACF42 #42A0CF
split-complementary
#B742CF #A0CF42 #42CF70
monochromatic
#691F78 #932BA9 #B742CF #CA73DB #DCA4E8

Accessibility & contrast

On white

4.47
#B742CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B742CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B742CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742CF#FFFFFF#000000##000000
##B742CF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#B85B84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b742cf;
/* rgb */ color: rgb(183, 66, 207);
/* oklch */ color: oklch(59.8% 0.223 320.3);
Tailwind
colors: {
  custom: {
    50: '#d080de',
    500: '#b742cf',
    950: '#000000',
  },
}
SCSS
$custom: #b742cf;
$custom-light: #d080de;
$custom-dark: #000000;
JSON
{
  "hex": "#b742cf",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 289.787,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.22278,
    "h": 320.3
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#B742CF
secondary
#A2D598
accent
#E34560
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B742CF

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

Preview Lab → · Contrast checker → · Palette generator →

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