#B18CCD#B18CCD

#B18CCD is a light, moderate violet. Relative luminance 0.325; OKLCH L 69.8% C 0.101 H 309.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B18CCD
RGBrgb(177, 140, 205)
HSLhsl(274, 39%, 68%)
HSVhsv(274, 32%, 80%)
CMYKcmyk(13.7%, 31.7%, 0%, 19.6%)
CIE-LABlab(63.76, 26.23, -28.24)
CIE-LCHlch(63.76, 38.54, 312.89°)
OKLaboklab(69.8% 0.0649 -0.0775)
OKLCHoklch(69.8% 0.101 309.9)
XYZxyz(38.5270, 32.5115, 61.9915)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CCD #A8CD8C
analogous
#908CCD #B18CCD #CD8CC8
triadic
#B18CCD #CDB18C #8CCDB1
tetradic
#B18CCD #CD908C #A8CD8C #8CC8CD
square
#B18CCD #CD908C #A8CD8C #8CC8CD
split-complementary
#B18CCD #C8CD8C #8CCD90
monochromatic
#75439B #9461BA #B18CCD #CEB7E0 #EBE1F2

Accessibility & contrast

On white

2.80
#B18CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B18CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CCD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CCD#FFFFFF#000000##000000
##B18CCD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D0
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#AE95A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b18ccd;
/* rgb */ color: rgb(177, 140, 205);
/* oklch */ color: oklch(69.8% 0.101 309.9);
Tailwind
colors: {
  custom: {
    50: '#c9aedc',
    500: '#b18ccd',
    950: '#000000',
  },
}
SCSS
$custom: #b18ccd;
$custom-light: #c9aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ccd",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 274.154,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69796,
    "c": 0.10108,
    "h": 309.9
  },
  "luminance": 0.32511
}

Semantic roles & 50–950 ramp

primary
#B18CCD
secondary
#D9E4D0
accent
#B2336A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B18CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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