#B18FDB#B18FDB

#B18FDB is a light, moderate violet. Relative luminance 0.341; OKLCH L 71.0% C 0.114 H 304.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B18FDB
RGBrgb(177, 143, 219)
HSLhsl(267, 51%, 71%)
HSVhsv(267, 35%, 86%)
CMYKcmyk(19.2%, 34.7%, 0%, 14.1%)
CIE-LABlab(65.05, 27.64, -34.05)
CIE-LCHlch(65.05, 43.86, 309.07°)
OKLaboklab(70.96% 0.064 -0.0941)
OKLCHoklch(70.96% 0.114 304.2)
XYZxyz(40.7375, 34.1066, 71.4412)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FDB #B9DB8F
analogous
#8F93DB #B18FDB #D78FDB
triadic
#B18FDB #DBB18F #8FDBB1
tetradic
#B18FDB #DB8F93 #B9DB8F #8FDBD7
square
#B18FDB #DB8F93 #B9DB8F #8FDBD7
split-complementary
#B18FDB #DBD78F #93DB8F
monochromatic
#713AB5 #9161CC #B18FDB #D1BDEA #EFE8F8

Accessibility & contrast

On white

2.68
#B18FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B18FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FDB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FDB#FFFFFF#000000##000000
##B18FDB1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#859ED9
Tritanopia (blue-blind)
#AA9BAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b18fdb;
/* rgb */ color: rgb(177, 143, 219);
/* oklch */ color: oklch(71.0% 0.114 304.2);
Tailwind
colors: {
  custom: {
    50: '#c9b0e6',
    500: '#b18fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b18fdb;
$custom-light: #c9b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fdb",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 266.842,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.1138,
    "h": 304.2
  },
  "luminance": 0.34107
}

Semantic roles & 50–950 ramp

primary
#B18FDB
secondary
#E4EDD9
accent
#BF277B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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