#B293EC#B293EC

#B293EC is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.6% C 0.130 H 299.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B293EC
RGBrgb(178, 147, 236)
HSLhsl(261, 70%, 75%)
HSVhsv(261, 38%, 93%)
CMYKcmyk(24.6%, 37.7%, 0%, 7.5%)
CIE-LABlab(66.82, 29.62, -40.68)
CIE-LCHlch(66.82, 50.32, 306.06°)
OKLaboklab(72.57% 0.0632 -0.1132)
OKLCHoklch(72.57% 0.13 299.2)
XYZxyz(43.9307, 36.3883, 84.0498)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293EC #CDEC93
analogous
#93A0EC #B293EC #DF93EC
triadic
#B293EC #ECB293 #93ECB2
tetradic
#B293EC #EC93A0 #CDEC93 #93ECDF
square
#B293EC #EC93A0 #CDEC93 #93ECDF
split-complementary
#B293EC #ECDF93 #A0EC93
monochromatic
#682BDA #8D5FE3 #B293EC #D7C7F5 #ECE5FA

Accessibility & contrast

On white

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

On black

8.28
#B293EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293EC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293EC#FFFFFF#000000##000000
##B293EC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#A7A2B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b293ec;
/* rgb */ color: rgb(178, 147, 236);
/* oklch */ color: oklch(72.6% 0.130 299.2);
Tailwind
colors: {
  custom: {
    50: '#cab3f2',
    500: '#b293ec',
    950: '#000000',
  },
}
SCSS
$custom: #b293ec;
$custom-light: #cab3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b293ec",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 260.899,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.12965,
    "h": 299.2
  },
  "luminance": 0.36389
}

Semantic roles & 50–950 ramp

primary
#B293EC
secondary
#E9F2D9
accent
#D21390
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B293EC

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

Preview Lab → · Contrast checker → · Palette generator →

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