#B18CF7#B18CF7

#B18CF7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.155 H 298.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B18CF7
RGBrgb(177, 140, 247)
HSLhsl(261, 87%, 76%)
HSVhsv(261, 43%, 97%)
CMYKcmyk(28.3%, 43.3%, 0%, 3.1%)
CIE-LABlab(65.61, 35.90, -48.63)
CIE-LCHlch(65.61, 60.44, 306.43°)
OKLaboklab(71.8% 0.0736 -0.1362)
OKLCHoklch(71.8% 0.155 298.4)
XYZxyz(44.2941, 34.8183, 92.3647)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CF7 #D2F78C
analogous
#8C9CF7 #B18CF7 #E78CF7
triadic
#B18CF7 #F7B18C #8CF7B1
tetradic
#B18CF7 #F78C9C #D2F78C #8CF7E7
square
#B18CF7 #F78C9C #D2F78C #8CF7E7
split-complementary
#B18CF7 #F7E78C #9CF78C
monochromatic
#631AEF #8A53F3 #B18CF7 #D8C5FB #ECE2FD

Accessibility & contrast

On white

2.64
#B18CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B18CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CF7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CF7#FFFFFF#000000##000000
##B18CF71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#A39FB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18cf7;
/* rgb */ color: rgb(177, 140, 247);
/* oklch */ color: oklch(71.8% 0.155 298.4);
Tailwind
colors: {
  custom: {
    50: '#cbaefa',
    500: '#b18cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b18cf7;
$custom-light: #cbaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cf7",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 260.748,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.15481,
    "h": 298.4
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

primary
#B18CF7
secondary
#EAF5D6
accent
#E40296
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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