#B488FC#B488FC

#B488FC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.168 H 299.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B488FC
RGBrgb(180, 136, 252)
HSLhsl(263, 95%, 76%)
HSVhsv(263, 46%, 99%)
CMYKcmyk(28.6%, 46%, 0%, 1.2%)
CIE-LABlab(65.23, 40.12, -51.94)
CIE-LCHlch(65.23, 65.63, 307.68°)
OKLaboklab(71.66% 0.0831 -0.1458)
OKLCHoklch(71.66% 0.168 299.7)
XYZxyz(45.1931, 34.3396, 96.3238)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B488FC #D0FC88
analogous
#8896FC #B488FC #EE88FC
triadic
#B488FC #FCB488 #88FCB4
tetradic
#B488FC #FC8896 #D0FC88 #88FCEE
square
#B488FC #FC8896 #D0FC88 #88FCEE
split-complementary
#B488FC #FCEE88 #96FC88
monochromatic
#6911F9 #8E4CFA #B488FC #DAC4FE #ECE1FE

Accessibility & contrast

On white

2.67
#B488FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B488FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B488FC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B488FC#FFFFFF#000000##000000
##B488FC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#A69DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b488fc;
/* rgb */ color: rgb(180, 136, 252);
/* oklch */ color: oklch(71.7% 0.168 299.7);
Tailwind
colors: {
  custom: {
    50: '#cdabfe',
    500: '#b488fc',
    950: '#000000',
  },
}
SCSS
$custom: #b488fc;
$custom-light: #cdabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b488fc",
  "rgb": {
    "r": 180,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 262.759,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71662,
    "c": 0.1678,
    "h": 299.7
  },
  "luminance": 0.3434
}

Semantic roles & 50–950 ramp

primary
#B488FC
secondary
#EAF6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B488FC

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

Preview Lab → · Contrast checker → · Palette generator →

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