#B289F7#B289F7

#B289F7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.160 H 299.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B289F7
RGBrgb(178, 137, 247)
HSLhsl(262, 87%, 75%)
HSVhsv(262, 45%, 97%)
CMYKcmyk(27.9%, 44.5%, 0%, 3.1%)
CIE-LABlab(65.02, 37.83, -49.55)
CIE-LCHlch(65.02, 62.34, 307.36°)
OKLaboklab(71.38% 0.0787 -0.1389)
OKLCHoklch(71.38% 0.16 299.5)
XYZxyz(44.0904, 34.0714, 92.2313)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B289F7 #CEF789
analogous
#8997F7 #B289F7 #E989F7
triadic
#B289F7 #F7B289 #89F7B2
tetradic
#B289F7 #F78997 #CEF789 #89F7E9
square
#B289F7 #F78997 #CEF789 #89F7E9
split-complementary
#B289F7 #F7E989 #97F789
monochromatic
#6716EF #8D50F3 #B289F7 #D7C2FB #ECE2FD

Accessibility & contrast

On white

2.69
#B289F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B289F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B289F7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B289F7#FFFFFF#000000##000000
##B289F71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#A49DB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b289f7;
/* rgb */ color: rgb(178, 137, 247);
/* oklch */ color: oklch(71.4% 0.160 299.5);
Tailwind
colors: {
  custom: {
    50: '#cbacfa',
    500: '#b289f7',
    950: '#000000',
  },
}
SCSS
$custom: #b289f7;
$custom-light: #cbacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b289f7",
  "rgb": {
    "r": 178,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 262.364,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71378,
    "c": 0.15964,
    "h": 299.5
  },
  "luminance": 0.34072
}

Semantic roles & 50–950 ramp

primary
#B289F7
secondary
#E9F5D6
accent
#E40290
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B289F7

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

Preview Lab → · Contrast checker → · Palette generator →

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