#B18CD2#B18CD2

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

Color values

HEX#B18CD2
RGBrgb(177, 140, 210)
HSLhsl(272, 44%, 69%)
HSVhsv(272, 33%, 82%)
CMYKcmyk(15.7%, 33.3%, 0%, 17.6%)
CIE-LABlab(63.96, 27.32, -30.72)
CIE-LCHlch(63.96, 41.11, 311.64°)
OKLaboklab(70.01% 0.0661 -0.0846)
OKLCHoklch(70.01% 0.107 308)
XYZxyz(39.1402, 32.7568, 65.2210)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CD2 #ADD28C
analogous
#8E8CD2 #B18CD2 #D28CD0
triadic
#B18CD2 #D2B18C #8CD2B1
tetradic
#B18CD2 #D28E8C #ADD28C #8CD0D2
square
#B18CD2 #D28E8C #ADD28C #8CD0D2
split-complementary
#B18CD2 #D0D28C #8CD28E
monochromatic
#7540A4 #9360C1 #B18CD2 #CFB8E3 #EDE4F4

Accessibility & contrast

On white

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

On black

7.55
#B18CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CD2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CD2#FFFFFF#000000##000000
##B18CD21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F99D5
Deuteranopia (green-blind)
#869BD0
Tritanopia (blue-blind)
#AD96A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b18cd2;
/* rgb */ color: rgb(177, 140, 210);
/* oklch */ color: oklch(70.0% 0.107 308.0);
Tailwind
colors: {
  custom: {
    50: '#c9aee0',
    500: '#b18cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b18cd2;
$custom-light: #c9aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cd2",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 271.714,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70014,
    "c": 0.10739,
    "h": 308
  },
  "luminance": 0.32756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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