#B18FED#B18FED

#B18FED is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.137 H 299.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B18FED
RGBrgb(177, 143, 237)
HSLhsl(262, 72%, 75%)
HSVhsv(262, 40%, 93%)
CMYKcmyk(25.3%, 39.7%, 0%, 7.1%)
CIE-LABlab(65.83, 31.82, -42.78)
CIE-LCHlch(65.83, 53.31, 306.64°)
OKLaboklab(71.82% 0.0678 -0.1193)
OKLCHoklch(71.82% 0.137 299.6)
XYZxyz(43.2365, 35.1062, 84.6027)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FED #CBED8F
analogous
#8F9CED #B18FED #E08FED
triadic
#B18FED #EDB18F #8FEDB1
tetradic
#B18FED #ED8F9C #CBED8F #8FEDE0
square
#B18FED #ED8F9C #CBED8F #8FEDE0
split-complementary
#B18FED #EDE08F #9CED8F
monochromatic
#6826DC #8C5AE5 #B18FED #D6C4F5 #EDE5FB

Accessibility & contrast

On white

2.62
#B18FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B18FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FED
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FED#FFFFFF#000000##000000
##B18FED1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F1
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#A69FB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18fed;
/* rgb */ color: rgb(177, 143, 237);
/* oklch */ color: oklch(71.8% 0.137 299.6);
Tailwind
colors: {
  custom: {
    50: '#cab0f3',
    500: '#b18fed',
    950: '#000000',
  },
}
SCSS
$custom: #b18fed;
$custom-light: #cab0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b18fed",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 261.702,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71815,
    "c": 0.13718,
    "h": 299.6
  },
  "luminance": 0.35106
}

Semantic roles & 50–950 ramp

primary
#B18FED
secondary
#E9F2D9
accent
#D4118E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FED

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

Preview Lab → · Contrast checker → · Palette generator →

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