#B395F5#B395F5

#B395F5 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.5% C 0.138 H 297.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B395F5
RGBrgb(179, 149, 245)
HSLhsl(259, 83%, 77%)
HSVhsv(259, 39%, 96%)
CMYKcmyk(26.9%, 39.2%, 0%, 3.9%)
CIE-LABlab(67.78, 30.93, -44.10)
CIE-LCHlch(67.78, 53.87, 305.04°)
OKLaboklab(73.45% 0.0634 -0.1231)
OKLCHoklch(73.45% 0.138 297.3)
XYZxyz(45.8154, 37.6707, 91.2259)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B395F5 #D7F595
analogous
#95A7F5 #B395F5 #E395F5
triadic
#B395F5 #F5B395 #95F5B3
tetradic
#B395F5 #F595A7 #D7F595 #95F5E3
square
#B395F5 #F595A7 #D7F595 #95F5E3
split-complementary
#B395F5 #F5E395 #A7F595
monochromatic
#6325EA #8B5DF0 #B395F5 #DBCDFA #EBE3FC

Accessibility & contrast

On white

2.46
#B395F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B395F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B395F5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B395F5#FFFFFF#000000##000000
##B395F51.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F9
Deuteranopia (green-blind)
#80A4F3
Tritanopia (blue-blind)
#A6A6B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b395f5;
/* rgb */ color: rgb(179, 149, 245);
/* oklch */ color: oklch(73.5% 0.138 297.3);
Tailwind
colors: {
  custom: {
    50: '#cbb4f9',
    500: '#b395f5',
    950: '#000000',
  },
}
SCSS
$custom: #b395f5;
$custom-light: #cbb4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b395f5",
  "rgb": {
    "r": 179,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 258.75,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.13845,
    "h": 297.3
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#B395F5
secondary
#EBF4D7
accent
#DF069B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B395F5

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

Preview Lab → · Contrast checker → · Palette generator →

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