#B583F2#B583F2

#B583F2 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.4% C 0.163 H 303.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B583F2
RGBrgb(181, 131, 242)
HSLhsl(267, 81%, 73%)
HSVhsv(267, 46%, 95%)
CMYKcmyk(25.2%, 45.9%, 0%, 5.1%)
CIE-LABlab(63.73, 40.77, -48.82)
CIE-LCHlch(63.73, 63.60, 309.86°)
OKLaboklab(70.4% 0.0896 -0.1367)
OKLCHoklch(70.4% 0.163 303.2)
XYZxyz(43.1959, 32.4672, 87.9783)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B583F2 #C0F283
analogous
#8388F2 #B583F2 #EC83F2
triadic
#B583F2 #F2B583 #83F2B5
tetradic
#B583F2 #F28388 #C0F283 #83F2EC
square
#B583F2 #F28388 #C0F283 #83F2EC
split-complementary
#B583F2 #F2EC83 #88F283
monochromatic
#7318E3 #944CEC #B583F2 #D6BAF8 #EEE3FC

Accessibility & contrast

On white

2.80
#B583F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B583F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B583F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B583F2#FFFFFF#000000##000000
##B583F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#AA96AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b583f2;
/* rgb */ color: rgb(181, 131, 242);
/* oklch */ color: oklch(70.4% 0.163 303.2);
Tailwind
colors: {
  custom: {
    50: '#cda8f7',
    500: '#b583f2',
    950: '#000000',
  },
}
SCSS
$custom: #b583f2;
$custom-light: #cda8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b583f2",
  "rgb": {
    "r": 181,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 267.027,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.16344,
    "h": 303.2
  },
  "luminance": 0.32467
}

Semantic roles & 50–950 ramp

primary
#B583F2
secondary
#E7F4D7
accent
#DD087D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B583F2

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

Preview Lab → · Contrast checker → · Palette generator →

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