#B488FE#B488FE

#B488FE is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.8% C 0.170 H 299.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B488FE
RGBrgb(180, 136, 254)
HSLhsl(262, 98%, 76%)
HSVhsv(262, 46%, 100%)
CMYKcmyk(29.1%, 46.5%, 0%, 0.4%)
CIE-LABlab(65.33, 40.60, -52.88)
CIE-LCHlch(65.33, 66.67, 307.52°)
OKLaboklab(71.77% 0.0833 -0.1485)
OKLCHoklch(71.77% 0.17 299.3)
XYZxyz(45.5117, 34.4670, 98.0018)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488FE #D2FE88
analogous
#8897FE #B488FE #EF88FE
triadic
#B488FE #FEB488 #88FEB4
tetradic
#B488FE #FE8897 #D2FE88 #88FEEF
square
#B488FE #FE8897 #D2FE88 #88FEEF
split-complementary
#B488FE #FEEF88 #97FE88
monochromatic
#680FFD #8E4BFD #B488FE #DAC5FF #ECE1FF

Accessibility & contrast

On white

2.66
#B488FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B488FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488FE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488FE#FFFFFF#000000##000000
##B488FE1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#A59EB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b488fe;
/* rgb */ color: rgb(180, 136, 254);
/* oklch */ color: oklch(71.8% 0.170 299.3);
Tailwind
colors: {
  custom: {
    50: '#cdabff',
    500: '#b488fe',
    950: '#000000',
  },
}
SCSS
$custom: #b488fe;
$custom-light: #cdabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b488fe",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 262.373,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.1703,
    "h": 299.3
  },
  "luminance": 0.34467
}

Semantic roles & 50–950 ramp

primary
#B488FE
secondary
#EAF7D4
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B488FE

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

Preview Lab → · Contrast checker → · Palette generator →

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