#B18CFA#B18CFA

#B18CFA is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.159 H 297.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B18CFA
RGBrgb(177, 140, 250)
HSLhsl(260, 92%, 76%)
HSVhsv(260, 44%, 98%)
CMYKcmyk(29.2%, 44%, 0%, 2%)
CIE-LABlab(65.75, 36.62, -50.04)
CIE-LCHlch(65.75, 62.01, 306.20°)
OKLaboklab(71.96% 0.074 -0.1403)
OKLCHoklch(71.96% 0.159 297.8)
XYZxyz(44.7607, 35.0050, 94.8224)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CFA #D5FA8C
analogous
#8C9EFA #B18CFA #E88CFA
triadic
#B18CFA #FAB18C #8CFAB1
tetradic
#B18CFA #FA8C9E #D5FA8C #8CFAE8
square
#B18CFA #FA8C9E #D5FA8C #8CFAE8
split-complementary
#B18CFA #FAE88C #9EFA8C
monochromatic
#6117F5 #8951F7 #B18CFA #D9C7FD #EBE2FE

Accessibility & contrast

On white

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

On black

8.00
#B18CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CFA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CFA#FFFFFF#000000##000000
##B18CFA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#729FF7
Tritanopia (blue-blind)
#A2A0B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b18cfa;
/* rgb */ color: rgb(177, 140, 250);
/* oklch */ color: oklch(72.0% 0.159 297.8);
Tailwind
colors: {
  custom: {
    50: '#cbaefc',
    500: '#b18cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b18cfa;
$custom-light: #cbaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cfa",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 260.182,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.15865,
    "h": 297.8
  },
  "luminance": 0.35005
}

Semantic roles & 50–950 ramp

primary
#B18CFA
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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