#B488F6#B488F6

#B488F6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.160 H 300.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B488F6
RGBrgb(180, 136, 246)
HSLhsl(264, 86%, 75%)
HSVhsv(264, 45%, 96%)
CMYKcmyk(26.8%, 44.7%, 0%, 3.5%)
CIE-LABlab(64.94, 38.68, -49.12)
CIE-LCHlch(64.94, 62.52, 308.22°)
OKLaboklab(71.34% 0.0823 -0.1376)
OKLCHoklch(71.34% 0.16 300.9)
XYZxyz(44.2573, 33.9653, 91.3952)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488F6 #CAF688
analogous
#8893F6 #B488F6 #EB88F6
triadic
#B488F6 #F6B488 #88F6B4
tetradic
#B488F6 #F68893 #CAF688 #88F6EB
square
#B488F6 #F68893 #CAF688 #88F6EB
split-complementary
#B488F6 #F6EB88 #93F688
monochromatic
#6C16ED #904FF2 #B488F6 #D8C1FA #EDE3FD

Accessibility & contrast

On white

2.69
#B488F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B488F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488F6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488F6#FFFFFF#000000##000000
##B488F61.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#A89BB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488f6;
/* rgb */ color: rgb(180, 136, 246);
/* oklch */ color: oklch(71.3% 0.160 300.9);
Tailwind
colors: {
  custom: {
    50: '#cdabf9',
    500: '#b488f6',
    950: '#000000',
  },
}
SCSS
$custom: #b488f6;
$custom-light: #cdabf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b488f6",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 264,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71343,
    "c": 0.16031,
    "h": 300.9
  },
  "luminance": 0.33965
}

Semantic roles & 50–950 ramp

primary
#B488F6
secondary
#E9F5D6
accent
#E20389
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B488F6

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

Preview Lab → · Contrast checker → · Palette generator →

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