#B488EF#B488EF

#B488EF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.0% C 0.152 H 302.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B488EF
RGBrgb(180, 136, 239)
HSLhsl(266, 76%, 74%)
HSVhsv(266, 43%, 94%)
CMYKcmyk(24.7%, 43.1%, 0%, 6.3%)
CIE-LABlab(64.60, 37.03, -45.80)
CIE-LCHlch(64.60, 58.90, 308.96°)
OKLaboklab(70.98% 0.0812 -0.1279)
OKLCHoklch(70.98% 0.152 302.4)
XYZxyz(43.2031, 33.5436, 85.8431)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488EF #C3EF88
analogous
#888FEF #B488EF #E788EF
triadic
#B488EF #EFB488 #88EFB4
tetradic
#B488EF #EF888F #C3EF88 #88EFE7
square
#B488EF #EF888F #C3EF88 #88EFE7
split-complementary
#B488EF #EFE788 #8FEF88
monochromatic
#701EDF #9252E8 #B488EF #D6BEF6 #EEE4FB

Accessibility & contrast

On white

2.72
#B488EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B488EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488EF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488EF#FFFFFF#000000##000000
##B488EF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#AA99B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b488ef;
/* rgb */ color: rgb(180, 136, 239);
/* oklch */ color: oklch(71.0% 0.152 302.4);
Tailwind
colors: {
  custom: {
    50: '#ccabf4',
    500: '#b488ef',
    950: '#000000',
  },
}
SCSS
$custom: #b488ef;
$custom-light: #ccabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b488ef",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 265.631,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70981,
    "c": 0.15154,
    "h": 302.4
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#B488EF
secondary
#E7F3D8
accent
#D80D82
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B488EF

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

Preview Lab → · Contrast checker → · Palette generator →

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