#B293EF#B293EF

#B293EF is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.7% C 0.134 H 298.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B293EF
RGBrgb(178, 147, 239)
HSLhsl(260, 74%, 76%)
HSVhsv(260, 38%, 94%)
CMYKcmyk(25.5%, 38.5%, 0%, 6.3%)
CIE-LABlab(66.95, 30.33, -42.12)
CIE-LCHlch(66.95, 51.91, 305.76°)
OKLaboklab(72.71% 0.0638 -0.1173)
OKLCHoklch(72.71% 0.134 298.5)
XYZxyz(44.3702, 36.5641, 86.3646)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293EF #D0EF93
analogous
#93A2EF #B293EF #E093EF
triadic
#B293EF #EFB293 #93EFB2
tetradic
#B293EF #EF93A2 #D0EF93 #93EFE0
square
#B293EF #EF93A2 #D0EF93 #93EFE0
split-complementary
#B293EF #EFE093 #A2EF93
monochromatic
#6628DF #8C5EE7 #B293EF #D8C8F7 #ECE4FB

Accessibility & contrast

On white

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

On black

8.31
#B293EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293EF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293EF#FFFFFF#000000##000000
##B293EF1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#A6A3B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b293ef;
/* rgb */ color: rgb(178, 147, 239);
/* oklch */ color: oklch(72.7% 0.134 298.5);
Tailwind
colors: {
  custom: {
    50: '#cbb3f4',
    500: '#b293ef',
    950: '#000000',
  },
}
SCSS
$custom: #b293ef;
$custom-light: #cbb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b293ef",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 260.217,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72713,
    "c": 0.13359,
    "h": 298.5
  },
  "luminance": 0.36564
}

Semantic roles & 50–950 ramp

primary
#B293EF
secondary
#EAF3D8
accent
#D60F93
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B293EF

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

Preview Lab → · Contrast checker → · Palette generator →

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