#B283EB#B283EB

#B283EB is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.7% C 0.154 H 303.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B283EB
RGBrgb(178, 131, 235)
HSLhsl(267, 72%, 72%)
HSVhsv(267, 44%, 92%)
CMYKcmyk(24.3%, 44.3%, 0%, 7.8%)
CIE-LABlab(63.09, 38.32, -45.98)
CIE-LCHlch(63.09, 59.85, 309.81°)
OKLaboklab(69.74% 0.0851 -0.1285)
OKLCHoklch(69.74% 0.154 303.5)
XYZxyz(41.4686, 31.6958, 82.5144)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283EB #BCEB83
analogous
#8388EB #B283EB #E683EB
triadic
#B283EB #EBB283 #83EBB2
tetradic
#B283EB #EB8388 #BCEB83 #83EBE6
square
#B283EB #EB8388 #BCEB83 #83EBE6
split-complementary
#B283EB #EBE683 #88EB83
monochromatic
#7122D2 #914EE2 #B283EB #D3B8F4 #EFE5FB

Accessibility & contrast

On white

2.86
#B283EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B283EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283EB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283EB#FFFFFF#000000##000000
##B283EB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798EF
Deuteranopia (green-blind)
#7299E8
Tritanopia (blue-blind)
#A895AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b283eb;
/* rgb */ color: rgb(178, 131, 235);
/* oklch */ color: oklch(69.7% 0.154 303.5);
Tailwind
colors: {
  custom: {
    50: '#cba8f2',
    500: '#b283eb',
    950: '#000000',
  },
}
SCSS
$custom: #b283eb;
$custom-light: #cba8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b283eb",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 235
  },
  "hsl": {
    "h": 267.115,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.15409,
    "h": 303.5
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#B283EB
secondary
#E6F2D8
accent
#D4117C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B283EB

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

Preview Lab → · Contrast checker → · Palette generator →

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