#B289EC#B289EC

#B289EC is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.146 H 301.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B289EC
RGBrgb(178, 137, 236)
HSLhsl(265, 72%, 73%)
HSVhsv(265, 42%, 93%)
CMYKcmyk(24.6%, 41.9%, 0%, 7.5%)
CIE-LABlab(64.49, 35.22, -44.32)
CIE-LCHlch(64.49, 56.61, 308.47°)
OKLaboklab(70.81% 0.077 -0.1237)
OKLCHoklch(70.81% 0.146 301.9)
XYZxyz(42.4428, 33.4124, 83.5538)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289EC #C3EC89
analogous
#8991EC #B289EC #E389EC
triadic
#B289EC #ECB289 #89ECB2
tetradic
#B289EC #EC8991 #C3EC89 #89ECE3
square
#B289EC #EC8991 #C3EC89 #89ECE3
split-complementary
#B289EC #ECE389 #91EC89
monochromatic
#6E23D8 #9054E4 #B289EC #D4BEF4 #EEE5FB

Accessibility & contrast

On white

2.73
#B289EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#B289EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B289EC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B289EC#FFFFFF#000000##000000
##B289EC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#A89AAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b289ec;
/* rgb */ color: rgb(178, 137, 236);
/* oklch */ color: oklch(70.8% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbacf2',
    500: '#b289ec',
    950: '#000000',
  },
}
SCSS
$custom: #b289ec;
$custom-light: #cbacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b289ec",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 264.848,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70811,
    "c": 0.14571,
    "h": 301.9
  },
  "luminance": 0.33412
}

Semantic roles & 50–950 ramp

primary
#B289EC
secondary
#E8F2D9
accent
#D41184
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B289EC

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

Preview Lab → · Contrast checker → · Palette generator →

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