#B289F2#B289F2

#B289F2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.1% C 0.153 H 300.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B289F2
RGBrgb(178, 137, 242)
HSLhsl(263, 80%, 74%)
HSVhsv(263, 43%, 95%)
CMYKcmyk(26.4%, 43.4%, 0%, 5.1%)
CIE-LABlab(64.78, 36.64, -47.18)
CIE-LCHlch(64.78, 59.74, 307.83°)
OKLaboklab(71.12% 0.078 -0.132)
OKLCHoklch(71.12% 0.153 300.6)
XYZxyz(43.3291, 33.7669, 88.2221)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289F2 #C9F289
analogous
#8995F2 #B289F2 #E789F2
triadic
#B289F2 #F2B289 #89F2B2
tetradic
#B289F2 #F28995 #C9F289 #89F2E7
square
#B289F2 #F28995 #C9F289 #89F2E7
split-complementary
#B289F2 #F2E789 #95F289
monochromatic
#6A1BE6 #8E52EC #B289F2 #D6C0F8 #EDE3FC

Accessibility & contrast

On white

2.71
#B289F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B289F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B289F2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B289F2#FFFFFF#000000##000000
##B289F21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#A69BB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b289f2;
/* rgb */ color: rgb(178, 137, 242);
/* oklch */ color: oklch(71.1% 0.153 300.6);
Tailwind
colors: {
  custom: {
    50: '#cbacf7',
    500: '#b289f2',
    950: '#000000',
  },
}
SCSS
$custom: #b289f2;
$custom-light: #cbacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b289f2",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 263.429,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.15331,
    "h": 300.6
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

primary
#B289F2
secondary
#E9F4D7
accent
#DC098A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B289F2

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

Preview Lab → · Contrast checker → · Palette generator →

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