#7B5BEF#7B5BEF

#7B5BEF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.212 H 287.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B5BEF
RGBrgb(123, 91, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.5%, 61.9%, 0%, 6.3%)
CIE-LABlab(49.40, 48.73, -70.41)
CIE-LCHlch(49.40, 85.63, 304.68°)
OKLaboklab(58.45% 0.0653 -0.2016)
OKLCHoklch(58.45% 0.212 287.9)
XYZxyz(27.4849, 17.9239, 83.6561)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BEF #CFEF5B
analogous
#5B85EF #7B5BEF #C55BEF
triadic
#7B5BEF #EF7B5B #5BEF7B
tetradic
#7B5BEF #EF5B85 #CFEF5B #5BEFC5
square
#7B5BEF #EF5B85 #CFEF5B #5BEFC5
split-complementary
#7B5BEF #EFC55B #85EF5B
monochromatic
#3712BD #4E23EA #7B5BEF #A893F4 #D5CBFA

Accessibility & contrast

On white

4.58
#7B5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5BEF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BEF#FFFFFF#000000##000000
##7B5BEF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#537E9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5bef;
/* rgb */ color: rgb(123, 91, 239);
/* oklch */ color: oklch(58.5% 0.212 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa8bf5',
    500: '#7b5bef',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bef;
$custom-light: #aa8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bef",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 252.973,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.21195,
    "h": 287.9
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#7B5BEF
secondary
#E1ECBA
accent
#DF07B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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