#B738CD#B738CD

#B738CD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.233 H 321.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B738CD
RGBrgb(183, 56, 205)
HSLhsl(291, 60%, 51%)
HSVhsv(291, 73%, 80%)
CMYKcmyk(10.7%, 72.7%, 0%, 19.6%)
CIE-LABlab(48.64, 69.06, -51.97)
CIE-LCHlch(48.64, 86.43, 323.04°)
OKLaboklab(58.76% 0.1814 -0.1454)
OKLCHoklch(58.76% 0.233 321.3)
XYZxyz(31.9608, 17.3051, 59.4025)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738CD #4ECD38
analogous
#6C38CD #B738CD #CD3898
triadic
#B738CD #CDB738 #38CDB7
tetradic
#B738CD #CD6C38 #4ECD38 #3898CD
square
#B738CD #CD6C38 #4ECD38 #3898CD
split-complementary
#B738CD #98CD38 #38CD6C
monochromatic
#631C6F #8E28A0 #B738CD #C969D9 #DA9AE6

Accessibility & contrast

On white

4.71
#B738CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B738CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B738CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B738CD#FFFFFF#000000##FFFFFF
##B738CD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#B95580
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b738cd;
/* rgb */ color: rgb(183, 56, 205);
/* oklch */ color: oklch(58.8% 0.233 321.3);
Tailwind
colors: {
  custom: {
    50: '#d17bdd',
    500: '#b738cd',
    950: '#000000',
  },
}
SCSS
$custom: #b738cd;
$custom-light: #d17bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b738cd",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 291.141,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58759,
    "c": 0.23253,
    "h": 321.3
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#B738CD
secondary
#99D18F
accent
#E3455C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B738CD

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

Preview Lab → · Contrast checker → · Palette generator →

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