#B394F8#B394F8

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

Color values

HEX#B394F8
RGBrgb(179, 148, 248)
HSLhsl(259, 88%, 78%)
HSVhsv(259, 40%, 97%)
CMYKcmyk(27.8%, 40.3%, 0%, 2.7%)
CIE-LABlab(67.68, 32.21, -45.89)
CIE-LCHlch(67.68, 56.07, 305.06°)
OKLaboklab(73.42% 0.0653 -0.1283)
OKLCHoklch(73.42% 0.144 297)
XYZxyz(46.1196, 37.5403, 93.6050)
Luminance0.3754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B394F8 #D9F894
analogous
#94A7F8 #B394F8 #E594F8
triadic
#B394F8 #F8B394 #94F8B3
tetradic
#B394F8 #F894A7 #D9F894 #94F8E5
square
#B394F8 #F894A7 #D9F894 #94F8E5
split-complementary
#B394F8 #F8E594 #A7F894
monochromatic
#6121F0 #8A5BF4 #B394F8 #DCCDFC #EBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B394F8#FFFFFF#000000##000000
##B394F81.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)
#78A5FC
Deuteranopia (green-blind)
#7DA4F5
Tritanopia (blue-blind)
#A5A6BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b394f8;
/* rgb */ color: rgb(179, 148, 248);
/* oklch */ color: oklch(73.4% 0.144 297.0);
Tailwind
colors: {
  custom: {
    50: '#ccb3fb',
    500: '#b394f8',
    950: '#000000',
  },
}
SCSS
$custom: #b394f8;
$custom-light: #ccb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b394f8",
  "rgb": {
    "r": 179,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 258.6,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73423,
    "c": 0.14394,
    "h": 297
  },
  "luminance": 0.37541
}

Semantic roles & 50–950 ramp

primary
#B394F8
secondary
#EBF5D6
accent
#E4019E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B394F8

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

Preview Lab → · Contrast checker → · Palette generator →

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