#B394EA#B394EA

#B394EA is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.7% C 0.126 H 299.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B394EA
RGBrgb(179, 148, 234)
HSLhsl(262, 67%, 75%)
HSVhsv(262, 37%, 92%)
CMYKcmyk(23.5%, 36.8%, 0%, 8.2%)
CIE-LABlab(67.05, 28.88, -39.20)
CIE-LCHlch(67.05, 48.69, 306.38°)
OKLaboklab(72.74% 0.0626 -0.1089)
OKLCHoklch(72.74% 0.126 299.9)
XYZxyz(44.0283, 36.7038, 82.5909)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B394EA #CBEA94
analogous
#94A0EA #B394EA #DE94EA
triadic
#B394EA #EAB394 #94EAB3
tetradic
#B394EA #EA94A0 #CBEA94 #94EADE
square
#B394EA #EA94A0 #CBEA94 #94EADE
split-complementary
#B394EA #EADE94 #A0EA94
monochromatic
#6A2ED6 #8F61E0 #B394EA #D7C7F4 #EDE5FA

Accessibility & contrast

On white

2.52
#B394EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B394EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B394EA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B394EA#FFFFFF#000000##000000
##B394EA1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#A9A2B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b394ea;
/* rgb */ color: rgb(179, 148, 234);
/* oklch */ color: oklch(72.7% 0.126 299.9);
Tailwind
colors: {
  custom: {
    50: '#cbb3f1',
    500: '#b394ea',
    950: '#000000',
  },
}
SCSS
$custom: #b394ea;
$custom-light: #cbb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b394ea",
  "rgb": {
    "r": 179,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 261.628,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.12561,
    "h": 299.9
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#B394EA
secondary
#E9F1DA
accent
#CF168D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B394EA

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

Preview Lab → · Contrast checker → · Palette generator →

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