#B488F9#B488F9

#B488F9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.164 H 300.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B488F9
RGBrgb(180, 136, 249)
HSLhsl(263, 90%, 75%)
HSVhsv(263, 45%, 98%)
CMYKcmyk(27.7%, 45.4%, 0%, 2.4%)
CIE-LABlab(65.08, 39.40, -50.53)
CIE-LCHlch(65.08, 64.08, 307.94°)
OKLaboklab(71.5% 0.0827 -0.1417)
OKLCHoklch(71.5% 0.164 300.3)
XYZxyz(44.7215, 34.1510, 93.8399)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488F9 #CDF988
analogous
#8894F9 #B488F9 #ED88F9
triadic
#B488F9 #F9B488 #88F9B4
tetradic
#B488F9 #F98894 #CDF988 #88F9ED
square
#B488F9 #F98894 #CDF988 #88F9ED
split-complementary
#B488F9 #F9ED88 #94F988
monochromatic
#6B13F3 #8F4EF6 #B488F9 #D9C2FC #EDE2FE

Accessibility & contrast

On white

2.68
#B488F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B488F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488F9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488F9#FFFFFF#000000##000000
##B488F91.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#A79CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488f9;
/* rgb */ color: rgb(180, 136, 249);
/* oklch */ color: oklch(71.5% 0.164 300.3);
Tailwind
colors: {
  custom: {
    50: '#cdabfc',
    500: '#b488f9',
    950: '#000000',
  },
}
SCSS
$custom: #b488f9;
$custom-light: #cdabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b488f9",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 263.363,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71502,
    "c": 0.16406,
    "h": 300.3
  },
  "luminance": 0.34151
}

Semantic roles & 50–950 ramp

primary
#B488F9
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B488F9

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

Preview Lab → · Contrast checker → · Palette generator →

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