#B293C5#B293C5

#B293C5 is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.9% C 0.079 H 312.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B293C5
RGBrgb(178, 147, 197)
HSLhsl(277, 30%, 67%)
HSVhsv(277, 25%, 77%)
CMYKcmyk(9.6%, 25.4%, 0%, 22.7%)
CIE-LABlab(65.25, 20.91, -21.48)
CIE-LCHlch(65.25, 29.98, 314.24°)
OKLaboklab(70.86% 0.0533 -0.0584)
OKLCHoklch(70.86% 0.079 312.4)
XYZxyz(38.8702, 34.3641, 57.3977)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293C5 #A6C593
analogous
#9993C5 #B293C5 #C593BF
triadic
#B293C5 #C5B293 #93C5B2
tetradic
#B293C5 #C59993 #A6C593 #93BFC5
square
#B293C5 #C59993 #A6C593 #93BFC5
split-complementary
#B293C5 #BFC593 #93C599
monochromatic
#774D90 #966BB0 #B293C5 #CEBBDA #EBE3F0

Accessibility & contrast

On white

2.67
#B293C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B293C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293C5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293C5#FFFFFF#000000##000000
##B293C51.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9DC7
Deuteranopia (green-blind)
#929FC3
Tritanopia (blue-blind)
#B099A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b293c5;
/* rgb */ color: rgb(178, 147, 197);
/* oklch */ color: oklch(70.9% 0.079 312.4);
Tailwind
colors: {
  custom: {
    50: '#c9b3d6',
    500: '#b293c5',
    950: '#000000',
  },
}
SCSS
$custom: #b293c5;
$custom-light: #c9b3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b293c5",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 197
  },
  "hsl": {
    "h": 277.2,
    "s": 30.12,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.0791,
    "h": 312.4
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

primary
#B293C5
secondary
#D8E2D2
accent
#A93D66
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B293C5

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

Preview Lab → · Contrast checker → · Palette generator →

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