#B395F3#B395F3

#B395F3 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.4% C 0.136 H 297.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B395F3
RGBrgb(179, 149, 243)
HSLhsl(259, 80%, 77%)
HSVhsv(259, 39%, 95%)
CMYKcmyk(26.3%, 38.7%, 0%, 4.7%)
CIE-LABlab(67.69, 30.45, -43.15)
CIE-LCHlch(67.69, 52.81, 305.21°)
OKLaboklab(73.35% 0.063 -0.1203)
OKLCHoklch(73.35% 0.136 297.7)
XYZxyz(45.5117, 37.5493, 89.6266)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B395F3 #D5F395
analogous
#95A6F3 #B395F3 #E295F3
triadic
#B395F3 #F3B395 #95F3B3
tetradic
#B395F3 #F395A6 #D5F395 #95F3E2
square
#B395F3 #F395A6 #D5F395 #95F3E2
split-complementary
#B395F3 #F3E295 #A6F395
monochromatic
#6427E7 #8C5EED #B395F3 #DACCF9 #EBE4FC

Accessibility & contrast

On white

2.47
#B395F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B395F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B395F3
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B395F3#FFFFFF#000000##000000
##B395F31.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#81A4F1
Tritanopia (blue-blind)
#A6A5B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b395f3;
/* rgb */ color: rgb(179, 149, 243);
/* oklch */ color: oklch(73.4% 0.136 297.7);
Tailwind
colors: {
  custom: {
    50: '#cbb4f7',
    500: '#b395f3',
    950: '#000000',
  },
}
SCSS
$custom: #b395f3;
$custom-light: #cbb4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b395f3",
  "rgb": {
    "r": 179,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 259.149,
    "s": 79.661,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73354,
    "c": 0.13583,
    "h": 297.7
  },
  "luminance": 0.3755
}

Semantic roles & 50–950 ramp

primary
#B395F3
secondary
#EBF4D7
accent
#DC0A99
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B395F3

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

Preview Lab → · Contrast checker → · Palette generator →

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