#B293F2#B293F2

#B293F2 is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.9% C 0.138 H 297.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B293F2
RGBrgb(178, 147, 242)
HSLhsl(260, 79%, 76%)
HSVhsv(260, 39%, 95%)
CMYKcmyk(26.4%, 39.3%, 0%, 5.1%)
CIE-LABlab(67.08, 31.05, -43.55)
CIE-LCHlch(67.08, 53.49, 305.49°)
OKLaboklab(72.86% 0.0644 -0.1215)
OKLCHoklch(72.86% 0.138 297.9)
XYZxyz(44.8171, 36.7429, 88.7181)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B293F2 #D3F293
analogous
#93A4F2 #B293F2 #E293F2
triadic
#B293F2 #F2B293 #93F2B2
tetradic
#B293F2 #F293A4 #D3F293 #93F2E2
square
#B293F2 #F293A4 #D3F293 #93F2E2
split-complementary
#B293F2 #F2E293 #A4F293
monochromatic
#6426E5 #8B5CEB #B293F2 #D9CAF9 #ECE4FC

Accessibility & contrast

On white

2.52
#B293F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B293F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B293F2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B293F2#FFFFFF#000000##000000
##B293F21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F6
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#A5A3B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b293f2;
/* rgb */ color: rgb(178, 147, 242);
/* oklch */ color: oklch(72.9% 0.138 297.9);
Tailwind
colors: {
  custom: {
    50: '#cbb3f6',
    500: '#b293f2',
    950: '#000000',
  },
}
SCSS
$custom: #b293f2;
$custom-light: #cbb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b293f2",
  "rgb": {
    "r": 178,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 259.579,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.13752,
    "h": 297.9
  },
  "luminance": 0.36743
}

Semantic roles & 50–950 ramp

primary
#B293F2
secondary
#EAF4D7
accent
#DB0B97
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B293F2

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

Preview Lab → · Contrast checker → · Palette generator →

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