#B18DDD#B18DDD

#B18DDD is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.7% C 0.120 H 304.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B18DDD
RGBrgb(177, 141, 221)
HSLhsl(267, 54%, 71%)
HSVhsv(267, 36%, 87%)
CMYKcmyk(19.9%, 36.2%, 0%, 13.3%)
CIE-LABlab(64.66, 29.22, -35.77)
CIE-LCHlch(64.66, 46.19, 309.24°)
OKLaboklab(70.69% 0.0673 -0.099)
OKLCHoklch(70.69% 0.12 304.2)
XYZxyz(40.7048, 33.6174, 72.7370)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DDD #B9DD8D
analogous
#8D91DD #B18DDD #D98DDD
triadic
#B18DDD #DDB18D #8DDDB1
tetradic
#B18DDD #DD8D91 #B9DD8D #8DDDD9
square
#B18DDD #DD8D91 #B9DD8D #8DDDD9
split-complementary
#B18DDD #DDD98D #91DD8D
monochromatic
#7137B9 #915ECF #B18DDD #D1BCEB #EFE7F8

Accessibility & contrast

On white

2.72
#B18DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B18DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DDD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DDD#FFFFFF#000000##000000
##B18DDD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE0
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#AA99AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b18ddd;
/* rgb */ color: rgb(177, 141, 221);
/* oklch */ color: oklch(70.7% 0.120 304.2);
Tailwind
colors: {
  custom: {
    50: '#c9aee8',
    500: '#b18ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b18ddd;
$custom-light: #c9aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ddd",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 267,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.11974,
    "h": 304.2
  },
  "luminance": 0.33617
}

Semantic roles & 50–950 ramp

primary
#B18DDD
secondary
#E4EED8
accent
#C2247B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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