#B745DC#B745DC

#B745DC is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.231 H 316.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B745DC
RGBrgb(183, 69, 220)
HSLhsl(285, 68%, 57%)
HSVhsv(285, 69%, 86%)
CMYKcmyk(16.8%, 68.6%, 0%, 13.7%)
CIE-LABlab(51.26, 67.01, -56.35)
CIE-LCHlch(51.26, 87.56, 319.94°)
OKLaboklab(60.92% 0.1677 -0.1583)
OKLCHoklch(60.92% 0.231 316.6)
XYZxyz(34.5729, 19.4922, 69.6375)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745DC #6ADC45
analogous
#6C45DC #B745DC #DC45B6
triadic
#B745DC #DCB745 #45DCB7
tetradic
#B745DC #DC6C45 #6ADC45 #45B6DC
square
#B745DC #DC6C45 #6ADC45 #45B6DC
split-complementary
#B745DC #B6DC45 #45DC6C
monochromatic
#701A8C #9A24C0 #B745DC #CB79E6 #DFACEF

Accessibility & contrast

On white

4.29
#B745DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B745DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B745DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745DC#FFFFFF#000000##000000
##B745DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#B5638C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b745dc;
/* rgb */ color: rgb(183, 69, 220);
/* oklch */ color: oklch(60.9% 0.231 316.6);
Tailwind
colors: {
  custom: {
    50: '#d182e8',
    500: '#b745dc',
    950: '#000000',
  },
}
SCSS
$custom: #b745dc;
$custom-light: #d182e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b745dc",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 285.298,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.23063,
    "h": 316.6
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#B745DC
secondary
#AFDDA0
accent
#EB3D67
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B745DC

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

Preview Lab → · Contrast checker → · Palette generator →

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