#7B5BF3#7B5BF3

#7B5BF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.217 H 287.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B5BF3
RGBrgb(123, 91, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49.4%, 62.6%, 0%, 4.7%)
CIE-LABlab(49.69, 49.86, -72.18)
CIE-LCHlch(49.69, 87.73, 304.63°)
OKLaboklab(58.75% 0.065 -0.2068)
OKLCHoklch(58.75% 0.217 287.4)
XYZxyz(28.0824, 18.1629, 86.8027)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BF3 #D3F35B
analogous
#5B87F3 #7B5BF3 #C75BF3
triadic
#7B5BF3 #F37B5B #5BF37B
tetradic
#7B5BF3 #F35B87 #D3F35B #5BF3C7
square
#7B5BF3 #F35B87 #D3F35B #5BF3C7
split-complementary
#7B5BF3 #F3C75B #87F35B
monochromatic
#350EC5 #4D22EF #7B5BF3 #A994F7 #D7CDFB

Accessibility & contrast

On white

4.53
#7B5BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BF3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BF3#FFFFFF#000000##000000
##7B5BF31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#50809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5bf3;
/* rgb */ color: rgb(123, 91, 243);
/* oklch */ color: oklch(58.8% 0.217 287.4);
Tailwind
colors: {
  custom: {
    50: '#aa8bf8',
    500: '#7b5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bf3;
$custom-light: #aa8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bf3",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 252.632,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.21681,
    "h": 287.4
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#7B5BF3
secondary
#E4EEBB
accent
#E303B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

#7B5BF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva