#B18DCD#B18DCD

#B18DCD is a light, moderate violet. Relative luminance 0.328; OKLCH L 70.0% C 0.099 H 309.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B18DCD
RGBrgb(177, 141, 205)
HSLhsl(274, 39%, 68%)
HSVhsv(274, 31%, 80%)
CMYKcmyk(13.7%, 31.2%, 0%, 19.6%)
CIE-LABlab(64.00, 25.67, -27.87)
CIE-LCHlch(64.00, 37.89, 312.64°)
OKLaboklab(69.98% 0.0634 -0.0765)
OKLCHoklch(69.98% 0.099 309.6)
XYZxyz(38.6738, 32.8050, 62.0404)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DCD #A9CD8D
analogous
#918DCD #B18DCD #CD8DC9
triadic
#B18DCD #CDB18D #8DCDB1
tetradic
#B18DCD #CD918D #A9CD8D #8DC9CD
square
#B18DCD #CD918D #A9CD8D #8DC9CD
split-complementary
#B18DCD #C9CD8D #8DCD91
monochromatic
#75449B #9462BA #B18DCD #CEB8E0 #EBE2F2

Accessibility & contrast

On white

2.78
#B18DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B18DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DCD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DCD#FFFFFF#000000##000000
##B18DCD1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299D0
Deuteranopia (green-blind)
#899CCB
Tritanopia (blue-blind)
#AE96A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b18dcd;
/* rgb */ color: rgb(177, 141, 205);
/* oklch */ color: oklch(70.0% 0.099 309.6);
Tailwind
colors: {
  custom: {
    50: '#c9aedc',
    500: '#b18dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b18dcd;
$custom-light: #c9aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18dcd",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 273.75,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69979,
    "c": 0.09933,
    "h": 309.6
  },
  "luminance": 0.32805
}

Semantic roles & 50–950 ramp

primary
#B18DCD
secondary
#DAE5D1
accent
#B2336B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B18DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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