#B488FA#B488FA

#B488FA is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.165 H 300.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B488FA
RGBrgb(180, 136, 250)
HSLhsl(263, 92%, 76%)
HSVhsv(263, 46%, 98%)
CMYKcmyk(28%, 45.6%, 0%, 2%)
CIE-LABlab(65.13, 39.64, -51.00)
CIE-LCHlch(65.13, 64.60, 307.85°)
OKLaboklab(71.56% 0.0828 -0.1431)
OKLCHoklch(71.56% 0.165 300.1)
XYZxyz(44.8779, 34.2135, 94.6635)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488FA #CEFA88
analogous
#8895FA #B488FA #ED88FA
triadic
#B488FA #FAB488 #88FAB4
tetradic
#B488FA #FA8895 #CEFA88 #88FAED
square
#B488FA #FA8895 #CEFA88 #88FAED
split-complementary
#B488FA #FAED88 #95FA88
monochromatic
#6A13F5 #8F4DF8 #B488FA #D9C3FC #ECE2FE

Accessibility & contrast

On white

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

On black

7.84
#B488FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488FA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488FA#FFFFFF#000000##000000
##B488FA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#A69CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488fa;
/* rgb */ color: rgb(180, 136, 250);
/* oklch */ color: oklch(71.6% 0.165 300.1);
Tailwind
colors: {
  custom: {
    50: '#cdabfc',
    500: '#b488fa',
    950: '#000000',
  },
}
SCSS
$custom: #b488fa;
$custom-light: #cdabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b488fa",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 263.158,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.16531,
    "h": 300.1
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B488FA

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

Preview Lab → · Contrast checker → · Palette generator →

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