#B289FC#B289FC

#B289FC is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.6% C 0.166 H 298.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B289FC
RGBrgb(178, 137, 252)
HSLhsl(261, 95%, 76%)
HSVhsv(261, 46%, 99%)
CMYKcmyk(29.4%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.27, 39.04, -51.90)
CIE-LCHlch(65.27, 64.94, 306.95°)
OKLaboklab(71.64% 0.0794 -0.1457)
OKLCHoklch(71.64% 0.166 298.6)
XYZxyz(44.8723, 34.3842, 96.3493)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289FC #D3FC89
analogous
#899AFC #B289FC #EB89FC
triadic
#B289FC #FCB289 #89FCB2
tetradic
#B289FC #FC899A #D3FC89 #89FCEB
square
#B289FC #FC899A #D3FC89 #89FCEB
split-complementary
#B289FC #FCEB89 #9AFC89
monochromatic
#6412F9 #8B4DFA #B289FC #D9C5FE #ECE1FE

Accessibility & contrast

On white

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

On black

7.88
#B289FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B289FC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B289FC#FFFFFF#000000##000000
##B289FC1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#A39EB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b289fc;
/* rgb */ color: rgb(178, 137, 252);
/* oklch */ color: oklch(71.6% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#ccacfe',
    500: '#b289fc',
    950: '#000000',
  },
}
SCSS
$custom: #b289fc;
$custom-light: #ccacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b289fc",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 261.391,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.16594,
    "h": 298.6
  },
  "luminance": 0.34385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B289FC

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

Preview Lab → · Contrast checker → · Palette generator →

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