#B38CD2#B38CD2

#B38CD2 is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.2% C 0.108 H 309.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B38CD2
RGBrgb(179, 140, 210)
HSLhsl(273, 44%, 69%)
HSVhsv(273, 33%, 82%)
CMYKcmyk(14.8%, 33.3%, 0%, 17.6%)
CIE-LABlab(64.16, 27.94, -30.41)
CIE-LCHlch(64.16, 41.30, 312.57°)
OKLaboklab(70.21% 0.0685 -0.0837)
OKLCHoklch(70.21% 0.108 309.3)
XYZxyz(39.5992, 32.9934, 65.2425)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CD2 #ABD28C
analogous
#908CD2 #B38CD2 #D28CCE
triadic
#B38CD2 #D2B38C #8CD2B3
tetradic
#B38CD2 #D2908C #ABD28C #8CCED2
square
#B38CD2 #D2908C #ABD28C #8CCED2
split-complementary
#B38CD2 #CED28C #8CD290
monochromatic
#7740A4 #9660C1 #B38CD2 #D0B8E3 #EDE4F4

Accessibility & contrast

On white

2.76
#B38CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B38CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CD2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CD2#FFFFFF#000000##000000
##B38CD21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#889CD0
Tritanopia (blue-blind)
#AF96A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b38cd2;
/* rgb */ color: rgb(179, 140, 210);
/* oklch */ color: oklch(70.2% 0.108 309.3);
Tailwind
colors: {
  custom: {
    50: '#caaee0',
    500: '#b38cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b38cd2;
$custom-light: #caaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b38cd2",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 273.429,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70206,
    "c": 0.10811,
    "h": 309.3
  },
  "luminance": 0.32993
}

Semantic roles & 50–950 ramp

primary
#B38CD2
secondary
#DCE7D2
accent
#B72F6B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B38CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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