#B489FA#B489FA

#B489FA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.164 H 299.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B489FA
RGBrgb(180, 137, 250)
HSLhsl(263, 92%, 76%)
HSVhsv(263, 45%, 98%)
CMYKcmyk(28%, 45.2%, 0%, 2%)
CIE-LABlab(65.35, 39.09, -50.65)
CIE-LCHlch(65.35, 63.98, 307.66°)
OKLaboklab(71.72% 0.0815 -0.142)
OKLCHoklch(71.72% 0.164 299.8)
XYZxyz(45.0194, 34.4965, 94.7106)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B489FA #CFFA89
analogous
#8996FA #B489FA #ED89FA
triadic
#B489FA #FAB489 #89FAB4
tetradic
#B489FA #FA8996 #CFFA89 #89FAED
square
#B489FA #FA8996 #CFFA89 #89FAED
split-complementary
#B489FA #FAED89 #96FA89
monochromatic
#6914F5 #8F4EF8 #B489FA #D9C4FC #ECE2FE

Accessibility & contrast

On white

2.66
#B489FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B489FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B489FA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B489FA#FFFFFF#000000##000000
##B489FA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#A69DB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b489fa;
/* rgb */ color: rgb(180, 137, 250);
/* oklch */ color: oklch(71.7% 0.164 299.8);
Tailwind
colors: {
  custom: {
    50: '#cdacfc',
    500: '#b489fa',
    950: '#000000',
  },
}
SCSS
$custom: #b489fa;
$custom-light: #cdacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b489fa",
  "rgb": {
    "r": 180,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 262.832,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.16376,
    "h": 299.8
  },
  "luminance": 0.34497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B489FA

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

Preview Lab → · Contrast checker → · Palette generator →

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