#B395FA#B395FA

#B395FA is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.7% C 0.145 H 296.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B395FA
RGBrgb(179, 149, 250)
HSLhsl(258, 91%, 78%)
HSVhsv(258, 40%, 98%)
CMYKcmyk(28.4%, 40.4%, 0%, 2%)
CIE-LABlab(68.01, 32.14, -46.47)
CIE-LCHlch(68.01, 56.50, 304.66°)
OKLaboklab(73.7% 0.0644 -0.1299)
OKLCHoklch(73.7% 0.145 296.3)
XYZxyz(46.5890, 37.9802, 95.3003)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B395FA #DCFA95
analogous
#95A9FA #B395FA #E695FA
triadic
#B395FA #FAB395 #95FAB3
tetradic
#B395FA #FA95A9 #DCFA95 #95FAE6
square
#B395FA #FA95A9 #DCFA95 #95FAE6
split-complementary
#B395FA #FAE695 #A9FA95
monochromatic
#5F20F4 #895BF7 #B395FA #DDCFFD #EAE2FE

Accessibility & contrast

On white

2.44
#B395FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B395FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B395FA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B395FA#FFFFFF#000000##000000
##B395FA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#A4A7BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b395fa;
/* rgb */ color: rgb(179, 149, 250);
/* oklch */ color: oklch(73.7% 0.145 296.3);
Tailwind
colors: {
  custom: {
    50: '#ccb4fc',
    500: '#b395fa',
    950: '#000000',
  },
}
SCSS
$custom: #b395fa;
$custom-light: #ccb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b395fa",
  "rgb": {
    "r": 179,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 257.822,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.737,
    "c": 0.145,
    "h": 296.3
  },
  "luminance": 0.37981
}

Semantic roles & 50–950 ramp

primary
#B395FA
secondary
#ECF6D5
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B395FA

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

Preview Lab → · Contrast checker → · Palette generator →

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