#B389FC#B389FC

#B389FC is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.166 H 299.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B389FC
RGBrgb(179, 137, 252)
HSLhsl(262, 95%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(29%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.36, 39.30, -51.74)
CIE-LCHlch(65.36, 64.98, 307.22°)
OKLaboklab(71.74% 0.0806 -0.1452)
OKLCHoklch(71.74% 0.166 299)
XYZxyz(45.1026, 34.5030, 96.3601)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B389FC #D2FC89
analogous
#8999FC #B389FC #ED89FC
triadic
#B389FC #FCB389 #89FCB3
tetradic
#B389FC #FC8999 #D2FC89 #89FCED
square
#B389FC #FC8999 #D2FC89 #89FCED
split-complementary
#B389FC #FCED89 #99FC89
monochromatic
#6612F9 #8D4DFA #B389FC #D9C5FE #ECE1FE

Accessibility & contrast

On white

2.66
#B389FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B389FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B389FC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B389FC#FFFFFF#000000##000000
##B389FC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#A49EB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b389fc;
/* rgb */ color: rgb(179, 137, 252);
/* oklch */ color: oklch(71.7% 0.166 299.0);
Tailwind
colors: {
  custom: {
    50: '#ccacfe',
    500: '#b389fc',
    950: '#000000',
  },
}
SCSS
$custom: #b389fc;
$custom-light: #ccacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b389fc",
  "rgb": {
    "r": 179,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 261.913,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.1661,
    "h": 299
  },
  "luminance": 0.34503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B389FC

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

Preview Lab → · Contrast checker → · Palette generator →

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