#B638CD#B638CD

#B638CD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.232 H 321.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B638CD
RGBrgb(182, 56, 205)
HSLhsl(291, 60%, 51%)
HSVhsv(291, 73%, 80%)
CMYKcmyk(11.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(48.49, 68.86, -52.22)
CIE-LCHlch(48.49, 86.42, 322.82°)
OKLaboklab(58.62% 0.1803 -0.1462)
OKLCHoklch(58.62% 0.232 321)
XYZxyz(31.7238, 17.1829, 59.3914)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B638CD #4FCD38
analogous
#6B38CD #B638CD #CD3899
triadic
#B638CD #CDB638 #38CDB6
tetradic
#B638CD #CD6B38 #4FCD38 #3899CD
square
#B638CD #CD6B38 #4FCD38 #3899CD
split-complementary
#B638CD #99CD38 #38CD6B
monochromatic
#621C6F #8D28A0 #B638CD #C869D9 #DA9AE6

Accessibility & contrast

On white

4.73
#B638CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B638CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B638CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B638CD#FFFFFF#000000##FFFFFF
##B638CD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#B75580
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b638cd;
/* rgb */ color: rgb(182, 56, 205);
/* oklch */ color: oklch(58.6% 0.232 321.0);
Tailwind
colors: {
  custom: {
    50: '#d07bdd',
    500: '#b638cd',
    950: '#000000',
  },
}
SCSS
$custom: #b638cd;
$custom-light: #d07bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b638cd",
  "rgb": {
    "r": 182,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 290.738,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.23213,
    "h": 321
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#B638CD
secondary
#9AD18F
accent
#E3455D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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