#B394E4#B394E4

#B394E4 is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.5% C 0.118 H 301.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B394E4
RGBrgb(179, 148, 228)
HSLhsl(263, 60%, 74%)
HSVhsv(263, 35%, 89%)
CMYKcmyk(21.5%, 35.1%, 0%, 10.6%)
CIE-LABlab(66.80, 27.49, -36.30)
CIE-LCHlch(66.80, 45.53, 307.14°)
OKLaboklab(72.46% 0.0613 -0.1005)
OKLCHoklch(72.46% 0.118 301.3)
XYZxyz(43.1809, 36.3649, 78.1280)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B394E4 #C5E494
analogous
#949DE4 #B394E4 #DB94E4
triadic
#B394E4 #E4B394 #94E4B3
tetradic
#B394E4 #E4949D #C5E494 #94E4DB
square
#B394E4 #E4949D #C5E494 #94E4DB
split-complementary
#B394E4 #E4DB94 #9DE494
monochromatic
#6E33CA #9063D8 #B394E4 #D6C5F0 #EEE7F9

Accessibility & contrast

On white

2.54
#B394E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B394E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B394E4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B394E4#FFFFFF#000000##000000
##B394E41.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E7
Deuteranopia (green-blind)
#87A2E2
Tritanopia (blue-blind)
#AAA1B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b394e4;
/* rgb */ color: rgb(179, 148, 228);
/* oklch */ color: oklch(72.5% 0.118 301.3);
Tailwind
colors: {
  custom: {
    50: '#cbb3ed',
    500: '#b394e4',
    950: '#000000',
  },
}
SCSS
$custom: #b394e4;
$custom-light: #cbb3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b394e4",
  "rgb": {
    "r": 179,
    "g": 148,
    "b": 228
  },
  "hsl": {
    "h": 263.25,
    "s": 59.701,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.11774,
    "h": 301.3
  },
  "luminance": 0.36365
}

Semantic roles & 50–950 ramp

primary
#B394E4
secondary
#E8F0DB
accent
#C71E86
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B394E4

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

Preview Lab → · Contrast checker → · Palette generator →

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