#B789FA#B789FA

#B789FA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.164 H 301.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B789FA
RGBrgb(183, 137, 250)
HSLhsl(264, 92%, 76%)
HSVhsv(264, 45%, 98%)
CMYKcmyk(26.8%, 45.2%, 0%, 2%)
CIE-LABlab(65.64, 39.88, -50.18)
CIE-LCHlch(65.64, 64.10, 308.48°)
OKLaboklab(72% 0.085 -0.1406)
OKLCHoklch(72% 0.164 301.2)
XYZxyz(45.7255, 34.8606, 94.7437)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B789FA #CCFA89
analogous
#8993FA #B789FA #F089FA
triadic
#B789FA #FAB789 #89FAB7
tetradic
#B789FA #FA8993 #CCFA89 #89FAF0
square
#B789FA #FA8993 #CCFA89 #89FAF0
split-complementary
#B789FA #FAF089 #93FA89
monochromatic
#6F14F5 #934EF8 #B789FA #DBC4FC #EDE2FE

Accessibility & contrast

On white

2.63
#B789FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B789FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B789FA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B789FA#FFFFFF#000000##000000
##B789FA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#AA9DB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b789fa;
/* rgb */ color: rgb(183, 137, 250);
/* oklch */ color: oklch(72.0% 0.164 301.2);
Tailwind
colors: {
  custom: {
    50: '#cfacfc',
    500: '#b789fa',
    950: '#000000',
  },
}
SCSS
$custom: #b789fa;
$custom-light: #cfacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b789fa",
  "rgb": {
    "r": 183,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 264.425,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72003,
    "c": 0.16432,
    "h": 301.2
  },
  "luminance": 0.34861
}

Semantic roles & 50–950 ramp

primary
#B789FA
secondary
#E9F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B789FA

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

Preview Lab → · Contrast checker → · Palette generator →

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