#B18CD8#B18CD8

#B18CD8 is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.3% C 0.115 H 306.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B18CD8
RGBrgb(177, 140, 216)
HSLhsl(269, 49%, 70%)
HSVhsv(269, 35%, 85%)
CMYKcmyk(18.1%, 35.2%, 0%, 15.3%)
CIE-LABlab(64.21, 28.65, -33.69)
CIE-LCHlch(64.21, 44.22, 310.38°)
OKLaboklab(70.28% 0.0676 -0.0931)
OKLCHoklch(70.28% 0.115 306)
XYZxyz(39.9018, 33.0614, 69.2318)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CD8 #B3D88C
analogous
#8C8DD8 #B18CD8 #D78CD8
triadic
#B18CD8 #D8B18C #8CD8B1
tetradic
#B18CD8 #D88C8D #B3D88C #8CD8D7
square
#B18CD8 #D88C8D #B3D88C #8CD8D7
split-complementary
#B18CD8 #D8D78C #8DD88C
monochromatic
#733BAE #925EC9 #B18CD8 #D0BAE7 #EFE7F7

Accessibility & contrast

On white

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

On black

7.61
#B18CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CD8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CD8#FFFFFF#000000##000000
##B18CD81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9ADB
Deuteranopia (green-blind)
#849CD6
Tritanopia (blue-blind)
#AB97A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b18cd8;
/* rgb */ color: rgb(177, 140, 216);
/* oklch */ color: oklch(70.3% 0.115 306.0);
Tailwind
colors: {
  custom: {
    50: '#c9aee4',
    500: '#b18cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b18cd8;
$custom-light: #c9aee4;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cd8",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 269.211,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.11501,
    "h": 306
  },
  "luminance": 0.33061
}

Semantic roles & 50–950 ramp

primary
#B18CD8
secondary
#E0EBD5
accent
#BD2975
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B18CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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