#B18DD9#B18DD9

#B18DD9 is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.5% C 0.115 H 305.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B18DD9
RGBrgb(177, 141, 217)
HSLhsl(268, 50%, 70%)
HSVhsv(268, 35%, 85%)
CMYKcmyk(18.4%, 35%, 0%, 14.9%)
CIE-LABlab(64.49, 28.31, -33.81)
CIE-LCHlch(64.49, 44.10, 309.94°)
OKLaboklab(70.51% 0.0664 -0.0934)
OKLCHoklch(70.51% 0.115 305.4)
XYZxyz(40.1782, 33.4068, 69.9637)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DD9 #B5D98D
analogous
#8D8FD9 #B18DD9 #D78DD9
triadic
#B18DD9 #D9B18D #8DD9B1
tetradic
#B18DD9 #D98D8F #B5D98D #8DD9D7
square
#B18DD9 #D98D8F #B5D98D #8DD9D7
split-complementary
#B18DD9 #D9D78D #8FD98D
monochromatic
#733BB1 #925FCA #B18DD9 #D0BBE8 #EFE8F7

Accessibility & contrast

On white

2.73
#B18DD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B18DD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DD9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DD9#FFFFFF#000000##000000
##B18DD91.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDC
Deuteranopia (green-blind)
#849DD7
Tritanopia (blue-blind)
#AB98A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b18dd9;
/* rgb */ color: rgb(177, 141, 217);
/* oklch */ color: oklch(70.5% 0.115 305.4);
Tailwind
colors: {
  custom: {
    50: '#c9aee5',
    500: '#b18dd9',
    950: '#000000',
  },
}
SCSS
$custom: #b18dd9;
$custom-light: #c9aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b18dd9",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 217
  },
  "hsl": {
    "h": 268.421,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.1146,
    "h": 305.4
  },
  "luminance": 0.33407
}

Semantic roles & 50–950 ramp

primary
#B18DD9
secondary
#E1EBD6
accent
#BD2877
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B18DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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