#B488F7#B488F7

#B488F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.162 H 300.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B488F7
RGBrgb(180, 136, 247)
HSLhsl(264, 87%, 75%)
HSVhsv(264, 45%, 97%)
CMYKcmyk(27.1%, 44.9%, 0%, 3.1%)
CIE-LABlab(64.98, 38.92, -49.59)
CIE-LCHlch(64.98, 63.04, 308.13°)
OKLaboklab(71.4% 0.0824 -0.139)
OKLCHoklch(71.4% 0.162 300.7)
XYZxyz(44.4112, 34.0268, 92.2058)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488F7 #CBF788
analogous
#8893F7 #B488F7 #EC88F7
triadic
#B488F7 #F7B488 #88F7B4
tetradic
#B488F7 #F78893 #CBF788 #88F7EC
square
#B488F7 #F78893 #CBF788 #88F7EC
split-complementary
#B488F7 #F7EC88 #93F788
monochromatic
#6C15EF #904FF3 #B488F7 #D8C1FB #EDE2FD

Accessibility & contrast

On white

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

On black

7.81
#B488F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488F7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488F7#FFFFFF#000000##000000
##B488F71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#A79CB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488f7;
/* rgb */ color: rgb(180, 136, 247);
/* oklch */ color: oklch(71.4% 0.162 300.7);
Tailwind
colors: {
  custom: {
    50: '#cdabfa',
    500: '#b488f7',
    950: '#000000',
  },
}
SCSS
$custom: #b488f7;
$custom-light: #cdabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b488f7",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 263.784,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71396,
    "c": 0.16156,
    "h": 300.7
  },
  "luminance": 0.34027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B488F7

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

Preview Lab → · Contrast checker → · Palette generator →

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