#B293EB#B293EB

#B293EB is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.5% C 0.128 H 299.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B293EB
RGBrgb(178, 147, 235)
HSLhsl(261, 69%, 75%)
HSVhsv(261, 37%, 92%)
CMYKcmyk(24.3%, 37.4%, 0%, 7.8%)
CIE-LABlab(66.77, 29.39, -40.20)
CIE-LCHlch(66.77, 49.80, 306.17°)
OKLaboklab(72.52% 0.063 -0.1118)
OKLCHoklch(72.52% 0.128 299.4)
XYZxyz(43.7858, 36.3303, 83.2868)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293EB #CCEB93
analogous
#93A0EB #B293EB #DE93EB
triadic
#B293EB #EBB293 #93EBB2
tetradic
#B293EB #EB93A0 #CCEB93 #93EBDE
square
#B293EB #EB93A0 #CCEB93 #93EBDE
split-complementary
#B293EB #EBDE93 #A0EB93
monochromatic
#682CD8 #8D5FE1 #B293EB #D7C7F5 #EDE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B293EB#FFFFFF#000000##000000
##B293EB1.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)
#7DA2EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#A7A2B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b293eb;
/* rgb */ color: rgb(178, 147, 235);
/* oklch */ color: oklch(72.5% 0.128 299.4);
Tailwind
colors: {
  custom: {
    50: '#cab3f2',
    500: '#b293eb',
    950: '#000000',
  },
}
SCSS
$custom: #b293eb;
$custom-light: #cab3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b293eb",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 261.136,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72521,
    "c": 0.12834,
    "h": 299.4
  },
  "luminance": 0.36331
}

Semantic roles & 50–950 ramp

primary
#B293EB
secondary
#E9F2D9
accent
#D1158F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B293EB

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

Preview Lab → · Contrast checker → · Palette generator →

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