#B18CED#B18CED

#B18CED is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.142 H 300.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B18CED
RGBrgb(177, 140, 237)
HSLhsl(263, 73%, 74%)
HSVhsv(263, 41%, 93%)
CMYKcmyk(25.3%, 40.9%, 0%, 7.1%)
CIE-LABlab(65.13, 33.50, -43.87)
CIE-LCHlch(65.13, 55.20, 307.36°)
OKLaboklab(71.29% 0.0719 -0.1224)
OKLCHoklch(71.29% 0.142 300.4)
XYZxyz(42.7922, 34.2175, 84.4546)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CED #C8ED8C
analogous
#8C98ED #B18CED #E28CED
triadic
#B18CED #EDB18C #8CEDB1
tetradic
#B18CED #ED8C98 #C8ED8C #8CEDE2
square
#B18CED #ED8C98 #C8ED8C #8CEDE2
split-complementary
#B18CED #EDE28C #98ED8C
monochromatic
#6922DC #8D57E5 #B18CED #D5C1F5 #EDE5FB

Accessibility & contrast

On white

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

On black

7.84
#B18CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CED
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CED#FFFFFF#000000##000000
##B18CED1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF1
Deuteranopia (green-blind)
#7A9EEA
Tritanopia (blue-blind)
#A69CB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b18ced;
/* rgb */ color: rgb(177, 140, 237);
/* oklch */ color: oklch(71.3% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#caaef3',
    500: '#b18ced',
    950: '#000000',
  },
}
SCSS
$custom: #b18ced;
$custom-light: #caaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ced",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 262.887,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.14197,
    "h": 300.4
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#B18CED
secondary
#E9F3D8
accent
#D5108A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18CED

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

Preview Lab → · Contrast checker → · Palette generator →

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