#B18FF7#B18FF7

#B18FF7 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.3% C 0.150 H 297.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B18FF7
RGBrgb(177, 143, 247)
HSLhsl(260, 87%, 76%)
HSVhsv(260, 42%, 97%)
CMYKcmyk(28.3%, 42.1%, 0%, 3.1%)
CIE-LABlab(66.30, 34.22, -47.54)
CIE-LCHlch(66.30, 58.57, 305.75°)
OKLaboklab(72.32% 0.0696 -0.1331)
OKLCHoklch(72.32% 0.15 297.6)
XYZxyz(44.7384, 35.7070, 92.5128)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18FF7 #D5F78F
analogous
#8FA1F7 #B18FF7 #E58FF7
triadic
#B18FF7 #F7B18F #8FF7B1
tetradic
#B18FF7 #F78FA1 #D5F78F #8FF7E5
square
#B18FF7 #F78FA1 #D5F78F #8FF7E5
split-complementary
#B18FF7 #F7E58F #A1F78F
monochromatic
#611DEF #8956F3 #B18FF7 #D9C8FB #EBE2FD

Accessibility & contrast

On white

2.58
#B18FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B18FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18FF7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18FF7#FFFFFF#000000##000000
##B18FF71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#A3A1B7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b18ff7;
/* rgb */ color: rgb(177, 143, 247);
/* oklch */ color: oklch(72.3% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#cab0fa',
    500: '#b18ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b18ff7;
$custom-light: #cab0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b18ff7",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 259.615,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.15015,
    "h": 297.6
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#B18FF7
secondary
#EBF5D6
accent
#E3029A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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