#B293ED#B293ED

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

Color values

HEX#B293ED
RGBrgb(178, 147, 237)
HSLhsl(261, 71%, 75%)
HSVhsv(261, 38%, 93%)
CMYKcmyk(24.9%, 38%, 0%, 7.1%)
CIE-LABlab(66.86, 29.86, -41.16)
CIE-LCHlch(66.86, 50.85, 305.96°)
OKLaboklab(72.62% 0.0634 -0.1146)
OKLCHoklch(72.62% 0.131 299)
XYZxyz(44.0764, 36.4466, 84.8171)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293ED #CEED93
analogous
#93A1ED #B293ED #DF93ED
triadic
#B293ED #EDB293 #93EDB2
tetradic
#B293ED #ED93A1 #CEED93 #93EDDF
square
#B293ED #ED93A1 #CEED93 #93EDDF
split-complementary
#B293ED #EDDF93 #A1ED93
monochromatic
#672ADC #8D5FE4 #B293ED #D7C7F6 #ECE5FB

Accessibility & contrast

On white

2.53
#B293ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B293ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293ED
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293ED#FFFFFF#000000##000000
##B293ED1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F0
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#A7A2B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b293ed;
/* rgb */ color: rgb(178, 147, 237);
/* oklch */ color: oklch(72.6% 0.131 299.0);
Tailwind
colors: {
  custom: {
    50: '#cab3f3',
    500: '#b293ed',
    950: '#000000',
  },
}
SCSS
$custom: #b293ed;
$custom-light: #cab3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b293ed",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 260.667,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.13097,
    "h": 299
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

primary
#B293ED
secondary
#E9F2D9
accent
#D31291
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B293ED

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

Preview Lab → · Contrast checker → · Palette generator →

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