#B18DE3#B18DE3

#B18DE3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.127 H 302.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B18DE3
RGBrgb(177, 141, 227)
HSLhsl(265, 61%, 72%)
HSVhsv(265, 38%, 89%)
CMYKcmyk(22%, 37.9%, 0%, 11%)
CIE-LABlab(64.92, 30.60, -38.69)
CIE-LCHlch(64.92, 49.33, 308.34°)
OKLaboklab(70.98% 0.0686 -0.1074)
OKLCHoklch(70.98% 0.127 302.5)
XYZxyz(41.5185, 33.9429, 77.0225)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DE3 #BFE38D
analogous
#8D94E3 #B18DE3 #DC8DE3
triadic
#B18DE3 #E3B18D #8DE3B1
tetradic
#B18DE3 #E38D94 #BFE38D #8DE3DC
square
#B18DE3 #E38D94 #BFE38D #8DE3DC
split-complementary
#B18DE3 #E3DC8D #94E38D
monochromatic
#6F30C5 #8F5CD7 #B18DE3 #D3BEEF #EEE6F9

Accessibility & contrast

On white

2.70
#B18DE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B18DE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DE3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DE3#FFFFFF#000000##000000
##B18DE31.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE6
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#A99BAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b18de3;
/* rgb */ color: rgb(177, 141, 227);
/* oklch */ color: oklch(71.0% 0.127 302.5);
Tailwind
colors: {
  custom: {
    50: '#caaeec',
    500: '#b18de3',
    950: '#000000',
  },
}
SCSS
$custom: #b18de3;
$custom-light: #caaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#b18de3",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 227
  },
  "hsl": {
    "h": 265.116,
    "s": 60.563,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70976,
    "c": 0.12747,
    "h": 302.5
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#B18DE3
secondary
#E7F0DB
accent
#C81D81
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B18DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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