#B488FB#B488FB

#B488FB is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.167 H 299.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B488FB
RGBrgb(180, 136, 251)
HSLhsl(263, 93%, 76%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28.3%, 45.8%, 0%, 1.6%)
CIE-LABlab(65.18, 39.88, -51.47)
CIE-LCHlch(65.18, 65.11, 307.77°)
OKLaboklab(71.61% 0.0829 -0.1444)
OKLCHoklch(71.61% 0.167 299.9)
XYZxyz(45.0351, 34.2764, 95.4915)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488FB #CFFB88
analogous
#8895FB #B488FB #EE88FB
triadic
#B488FB #FBB488 #88FBB4
tetradic
#B488FB #FB8895 #CFFB88 #88FBEE
square
#B488FB #FB8895 #CFFB88 #88FBEE
split-complementary
#B488FB #FBEE88 #95FB88
monochromatic
#6912F7 #8F4DF9 #B488FB #D9C3FD #ECE1FE

Accessibility & contrast

On white

2.67
#B488FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B488FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488FB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488FB#FFFFFF#000000##000000
##B488FB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#A69DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488fb;
/* rgb */ color: rgb(180, 136, 251);
/* oklch */ color: oklch(71.6% 0.167 299.9);
Tailwind
colors: {
  custom: {
    50: '#cdabfd',
    500: '#b488fb',
    950: '#000000',
  },
}
SCSS
$custom: #b488fb;
$custom-light: #cdabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b488fb",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 262.957,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.16656,
    "h": 299.9
  },
  "luminance": 0.34277
}

Semantic roles & 50–950 ramp

primary
#B488FB
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B488FB

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

Preview Lab → · Contrast checker → · Palette generator →

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