#B18CD9#B18CD9

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

Color values

HEX#B18CD9
RGBrgb(177, 140, 217)
HSLhsl(269, 50%, 70%)
HSVhsv(269, 35%, 85%)
CMYKcmyk(18.4%, 35.5%, 0%, 14.9%)
CIE-LABlab(64.25, 28.88, -34.18)
CIE-LCHlch(64.25, 44.74, 310.19°)
OKLaboklab(70.33% 0.0678 -0.0945)
OKLCHoklch(70.33% 0.116 305.7)
XYZxyz(40.0314, 33.1132, 69.9148)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CD9 #B4D98C
analogous
#8C8ED9 #B18CD9 #D78CD9
triadic
#B18CD9 #D9B18C #8CD9B1
tetradic
#B18CD9 #D98C8E #B4D98C #8CD9D7
square
#B18CD9 #D98C8E #B4D98C #8CD9D7
split-complementary
#B18CD9 #D9D78C #8ED98C
monochromatic
#733AB0 #925ECA #B18CD9 #D0BAE8 #EFE8F7

Accessibility & contrast

On white

2.75
#B18CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B18CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CD9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CD9#FFFFFF#000000##000000
##B18CD91.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b18cd9;
/* rgb */ color: rgb(177, 140, 217);
/* oklch */ color: oklch(70.3% 0.116 305.7);
Tailwind
colors: {
  custom: {
    50: '#c9aee5',
    500: '#b18cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b18cd9;
$custom-light: #c9aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cd9",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 268.831,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.11629,
    "h": 305.7
  },
  "luminance": 0.33113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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