#B18CDA#B18CDA

#B18CDA is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.4% C 0.118 H 305.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B18CDA
RGBrgb(177, 140, 218)
HSLhsl(268, 51%, 70%)
HSVhsv(268, 36%, 85%)
CMYKcmyk(18.8%, 35.8%, 0%, 14.5%)
CIE-LABlab(64.29, 29.10, -34.67)
CIE-LCHlch(64.29, 45.26, 310.01°)
OKLaboklab(70.38% 0.068 -0.0959)
OKLCHoklch(70.38% 0.118 305.4)
XYZxyz(40.1619, 33.1654, 70.6018)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CDA #B5DA8C
analogous
#8C8EDA #B18CDA #D88CDA
triadic
#B18CDA #DAB18C #8CDAB1
tetradic
#B18CDA #DA8C8E #B5DA8C #8CDAD8
square
#B18CDA #DA8C8E #B5DA8C #8CDAD8
split-complementary
#B18CDA #DAD88C #8EDA8C
monochromatic
#7339B2 #925ECB #B18CDA #D0BAE9 #EFE8F8

Accessibility & contrast

On white

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

On black

7.63
#B18CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CDA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CDA#FFFFFF#000000##000000
##B18CDA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#AB98A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b18cda;
/* rgb */ color: rgb(177, 140, 218);
/* oklch */ color: oklch(70.4% 0.118 305.4);
Tailwind
colors: {
  custom: {
    50: '#c9aee5',
    500: '#b18cda',
    950: '#000000',
  },
}
SCSS
$custom: #b18cda;
$custom-light: #c9aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cda",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 268.462,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.11757,
    "h": 305.4
  },
  "luminance": 0.33165
}

Semantic roles & 50–950 ramp

primary
#B18CDA
secondary
#E1ECD6
accent
#BF2777
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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