#B488EC#B488EC

#B488EC is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.148 H 303.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B488EC
RGBrgb(180, 136, 236)
HSLhsl(266, 72%, 73%)
HSVhsv(266, 42%, 93%)
CMYKcmyk(23.7%, 42.4%, 0%, 7.5%)
CIE-LABlab(64.46, 36.33, -44.37)
CIE-LCHlch(64.46, 57.34, 309.31°)
OKLaboklab(70.83% 0.0807 -0.1238)
OKLCHoklch(70.83% 0.148 303.1)
XYZxyz(42.7636, 33.3678, 83.5284)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488EC #C0EC88
analogous
#888EEC #B488EC #E688EC
triadic
#B488EC #ECB488 #88ECB4
tetradic
#B488EC #EC888E #C0EC88 #88ECE6
square
#B488EC #EC888E #C0EC88 #88ECE6
split-complementary
#B488EC #ECE688 #8EEC88
monochromatic
#7222D7 #9353E4 #B488EC #D5BDF4 #EEE5FB

Accessibility & contrast

On white

2.74
#B488EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B488EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488EC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488EC#FFFFFF#000000##000000
##B488EC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#AA99AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b488ec;
/* rgb */ color: rgb(180, 136, 236);
/* oklch */ color: oklch(70.8% 0.148 303.1);
Tailwind
colors: {
  custom: {
    50: '#ccabf2',
    500: '#b488ec',
    950: '#000000',
  },
}
SCSS
$custom: #b488ec;
$custom-light: #ccabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b488ec",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 266.4,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70828,
    "c": 0.14779,
    "h": 303.1
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#B488EC
secondary
#E7F2D9
accent
#D5117E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B488EC

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

Preview Lab → · Contrast checker → · Palette generator →

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