#B583EF#B583EF

#B583EF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.160 H 303.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B583EF
RGBrgb(181, 131, 239)
HSLhsl(268, 77%, 73%)
HSVhsv(268, 45%, 94%)
CMYKcmyk(24.3%, 45.2%, 0%, 6.3%)
CIE-LABlab(63.58, 40.07, -47.40)
CIE-LCHlch(63.58, 62.06, 310.21°)
OKLaboklab(70.24% 0.0892 -0.1325)
OKLCHoklch(70.24% 0.16 303.9)
XYZxyz(42.7490, 32.2885, 85.6248)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B583EF #BDEF83
analogous
#8387EF #B583EF #EB83EF
triadic
#B583EF #EFB583 #83EFB5
tetradic
#B583EF #EF8387 #BDEF83 #83EFEB
square
#B583EF #EF8387 #BDEF83 #83EFEB
split-complementary
#B583EF #EFEB83 #87EF83
monochromatic
#751CDB #954DE8 #B583EF #D5B9F6 #EFE4FC

Accessibility & contrast

On white

2.82
#B583EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B583EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B583EF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B583EF#FFFFFF#000000##000000
##B583EF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#AB95AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b583ef;
/* rgb */ color: rgb(181, 131, 239);
/* oklch */ color: oklch(70.2% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#cda8f5',
    500: '#b583ef',
    950: '#000000',
  },
}
SCSS
$custom: #b583ef;
$custom-light: #cda8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b583ef",
  "rgb": {
    "r": 181,
    "g": 131,
    "b": 239
  },
  "hsl": {
    "h": 267.778,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.15977,
    "h": 303.9
  },
  "luminance": 0.32288
}

Semantic roles & 50–950 ramp

primary
#B583EF
secondary
#E7F3D8
accent
#D90C7A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B583EF

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

Preview Lab → · Contrast checker → · Palette generator →

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