#B293F8#B293F8

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

Color values

HEX#B293F8
RGBrgb(178, 147, 248)
HSLhsl(258, 88%, 77%)
HSVhsv(258, 41%, 97%)
CMYKcmyk(28.2%, 40.7%, 0%, 2.7%)
CIE-LABlab(67.36, 32.50, -46.41)
CIE-LCHlch(67.36, 56.65, 305.00°)
OKLaboklab(73.16% 0.0655 -0.1298)
OKLCHoklch(73.16% 0.145 296.8)
XYZxyz(45.7330, 37.1092, 93.5421)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293F8 #D9F893
analogous
#93A6F8 #B293F8 #E593F8
triadic
#B293F8 #F8B293 #93F8B2
tetradic
#B293F8 #F893A6 #D9F893 #93F8E5
square
#B293F8 #F893A6 #D9F893 #93F8E5
split-complementary
#B293F8 #F8E593 #A6F893
monochromatic
#6020F1 #895AF4 #B293F8 #DBCCFC #EBE2FD

Accessibility & contrast

On white

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

On black

8.42
#B293F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293F8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293F8#FFFFFF#000000##000000
##B293F81.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#A4A5BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b293f8;
/* rgb */ color: rgb(178, 147, 248);
/* oklch */ color: oklch(73.2% 0.145 296.8);
Tailwind
colors: {
  custom: {
    50: '#cbb3fb',
    500: '#b293f8',
    950: '#000000',
  },
}
SCSS
$custom: #b293f8;
$custom-light: #cbb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b293f8",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 258.416,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73159,
    "c": 0.14536,
    "h": 296.8
  },
  "luminance": 0.3711
}

Semantic roles & 50–950 ramp

primary
#B293F8
secondary
#ECF5D6
accent
#E4019F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B293F8

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

Preview Lab → · Contrast checker → · Palette generator →

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