#B293DC#B293DC

#B293DC is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.8% C 0.109 H 303.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B293DC
RGBrgb(178, 147, 220)
HSLhsl(265, 51%, 72%)
HSVhsv(265, 33%, 86%)
CMYKcmyk(19.1%, 33.2%, 0%, 13.7%)
CIE-LABlab(66.14, 25.92, -32.91)
CIE-LCHlch(66.14, 41.90, 308.23°)
OKLaboklab(71.83% 0.0596 -0.0909)
OKLCHoklch(71.83% 0.109 303.3)
XYZxyz(41.7094, 35.4998, 72.3511)
Luminance0.3550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293DC #BDDC93
analogous
#9399DC #B293DC #D693DC
triadic
#B293DC #DCB293 #93DCB2
tetradic
#B293DC #DC9399 #BDDC93 #93DCD6
square
#B293DC #DC9399 #BDDC93 #93DCD6
split-complementary
#B293DC #DCD693 #99DC93
monochromatic
#713CB9 #9165CD #B293DC #D3C1EB #EFE8F8

Accessibility & contrast

On white

2.59
#B293DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B293DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293DC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293DC#FFFFFF#000000##000000
##B293DC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#89A1DA
Tritanopia (blue-blind)
#AB9EAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b293dc;
/* rgb */ color: rgb(178, 147, 220);
/* oklch */ color: oklch(71.8% 0.109 303.3);
Tailwind
colors: {
  custom: {
    50: '#cab3e7',
    500: '#b293dc',
    950: '#000000',
  },
}
SCSS
$custom: #b293dc;
$custom-light: #cab3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b293dc",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 265.479,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71827,
    "c": 0.10867,
    "h": 303.3
  },
  "luminance": 0.355
}

Semantic roles & 50–950 ramp

primary
#B293DC
secondary
#E7EFDC
accent
#BE277E
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B293DC

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

Preview Lab → · Contrast checker → · Palette generator →

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