#B18FD9#B18FD9

#B18FD9 is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.9% C 0.111 H 304.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B18FD9
RGBrgb(177, 143, 217)
HSLhsl(268, 49%, 71%)
HSVhsv(268, 34%, 85%)
CMYKcmyk(18.4%, 34.1%, 0%, 14.9%)
CIE-LABlab(64.96, 27.19, -33.07)
CIE-LCHlch(64.96, 42.82, 309.43°)
OKLaboklab(70.87% 0.0635 -0.0913)
OKLCHoklch(70.87% 0.111 304.8)
XYZxyz(40.4758, 34.0019, 70.0629)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FD9 #B7D98F
analogous
#8F92D9 #B18FD9 #D68FD9
triadic
#B18FD9 #D9B18F #8FD9B1
tetradic
#B18FD9 #D98F92 #B7D98F #8FD9D6
square
#B18FD9 #D98F92 #B7D98F #8FD9D6
split-complementary
#B18FD9 #D9D68F #92D98F
monochromatic
#723CB1 #9161C9 #B18FD9 #D1BDE9 #EFE8F7

Accessibility & contrast

On white

2.69
#B18FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B18FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FD9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FD9#FFFFFF#000000##000000
##B18FD91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDC
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#AB9AAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b18fd9;
/* rgb */ color: rgb(177, 143, 217);
/* oklch */ color: oklch(70.9% 0.111 304.8);
Tailwind
colors: {
  custom: {
    50: '#c9b0e5',
    500: '#b18fd9',
    950: '#000000',
  },
}
SCSS
$custom: #b18fd9;
$custom-light: #c9b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fd9",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 217
  },
  "hsl": {
    "h": 267.568,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.11122,
    "h": 304.8
  },
  "luminance": 0.34002
}

Semantic roles & 50–950 ramp

primary
#B18FD9
secondary
#E3ECD8
accent
#BD2979
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B18FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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