#B489FC#B489FC

#B489FC is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.166 H 299.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B489FC
RGBrgb(180, 137, 252)
HSLhsl(262, 95%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(28.6%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.45, 39.57, -51.59)
CIE-LCHlch(65.45, 65.01, 307.49°)
OKLaboklab(71.83% 0.0818 -0.1448)
OKLCHoklch(71.83% 0.166 299.5)
XYZxyz(45.3346, 34.6226, 96.3710)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B489FC #D1FC89
analogous
#8998FC #B489FC #EE89FC
triadic
#B489FC #FCB489 #89FCB4
tetradic
#B489FC #FC8998 #D1FC89 #89FCEE
square
#B489FC #FC8998 #D1FC89 #89FCEE
split-complementary
#B489FC #FCEE89 #98FC89
monochromatic
#6812F9 #8E4DFA #B489FC #DAC5FE #ECE1FE

Accessibility & contrast

On white

2.65
#B489FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B489FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B489FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B489FC#FFFFFF#000000##000000
##B489FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#A69EB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b489fc;
/* rgb */ color: rgb(180, 137, 252);
/* oklch */ color: oklch(71.8% 0.166 299.5);
Tailwind
colors: {
  custom: {
    50: '#cdacfe',
    500: '#b489fc',
    950: '#000000',
  },
}
SCSS
$custom: #b489fc;
$custom-light: #cdacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b489fc",
  "rgb": {
    "r": 180,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 262.435,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71829,
    "c": 0.16627,
    "h": 299.5
  },
  "luminance": 0.34623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B489FC

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

Preview Lab → · Contrast checker → · Palette generator →

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