#B393F8#B393F8

#B393F8 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.2% C 0.145 H 297.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B393F8
RGBrgb(179, 147, 248)
HSLhsl(259, 88%, 77%)
HSVhsv(259, 41%, 97%)
CMYKcmyk(27.8%, 40.7%, 0%, 2.7%)
CIE-LABlab(67.45, 32.77, -46.26)
CIE-LCHlch(67.45, 56.69, 305.31°)
OKLaboklab(73.25% 0.0667 -0.1293)
OKLCHoklch(73.25% 0.146 297.3)
XYZxyz(45.9634, 37.2280, 93.5529)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B393F8 #D8F893
analogous
#93A5F8 #B393F8 #E693F8
triadic
#B393F8 #F8B393 #93F8B3
tetradic
#B393F8 #F893A5 #D8F893 #93F8E6
square
#B393F8 #F893A5 #D8F893 #93F8E6
split-complementary
#B393F8 #F8E693 #A5F893
monochromatic
#6220F1 #8B5AF4 #B393F8 #DBCCFC #EBE2FD

Accessibility & contrast

On white

2.49
#B393F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B393F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B393F8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B393F8#FFFFFF#000000##000000
##B393F81.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#A5A5BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b393f8;
/* rgb */ color: rgb(179, 147, 248);
/* oklch */ color: oklch(73.2% 0.145 297.3);
Tailwind
colors: {
  custom: {
    50: '#ccb3fb',
    500: '#b393f8',
    950: '#000000',
  },
}
SCSS
$custom: #b393f8;
$custom-light: #ccb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b393f8",
  "rgb": {
    "r": 179,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 259.01,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.1455,
    "h": 297.3
  },
  "luminance": 0.37228
}

Semantic roles & 50–950 ramp

primary
#B393F8
secondary
#EBF5D6
accent
#E4019C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B393F8

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

Preview Lab → · Contrast checker → · Palette generator →

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