#B488F5#B488F5

#B488F5 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.159 H 301.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B488F5
RGBrgb(180, 136, 245)
HSLhsl(264, 84%, 75%)
HSVhsv(264, 44%, 96%)
CMYKcmyk(26.5%, 44.5%, 0%, 3.9%)
CIE-LABlab(64.89, 38.45, -48.65)
CIE-LCHlch(64.89, 62.01, 308.32°)
OKLaboklab(71.29% 0.0821 -0.1362)
OKLCHoklch(71.29% 0.159 301.1)
XYZxyz(44.1043, 33.9041, 90.5891)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488F5 #C9F588
analogous
#8893F5 #B488F5 #EA88F5
triadic
#B488F5 #F5B488 #88F5B4
tetradic
#B488F5 #F58893 #C9F588 #88F5EA
square
#B488F5 #F58893 #C9F588 #88F5EA
split-complementary
#B488F5 #F5EA88 #93F588
monochromatic
#6D17EC #9050F0 #B488F5 #D8C0FA #EDE3FD

Accessibility & contrast

On white

2.70
#B488F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B488F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488F5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488F5#FFFFFF#000000##000000
##B488F51.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#A89BB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b488f5;
/* rgb */ color: rgb(180, 136, 245);
/* oklch */ color: oklch(71.3% 0.159 301.1);
Tailwind
colors: {
  custom: {
    50: '#cdabf9',
    500: '#b488f5',
    950: '#000000',
  },
}
SCSS
$custom: #b488f5;
$custom-light: #cdabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b488f5",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 245
  },
  "hsl": {
    "h": 264.22,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.15906,
    "h": 301.1
  },
  "luminance": 0.33904
}

Semantic roles & 50–950 ramp

primary
#B488F5
secondary
#E8F5D6
accent
#E10588
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B488F5

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

Preview Lab → · Contrast checker → · Palette generator →

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