#7B5AF3#7B5AF3

#7B5AF3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.218 H 287.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B5AF3
RGBrgb(123, 90, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49.4%, 63%, 0%, 4.7%)
CIE-LABlab(49.49, 50.41, -72.52)
CIE-LCHlch(49.49, 88.32, 304.80°)
OKLaboklab(58.6% 0.066 -0.2078)
OKLCHoklch(58.6% 0.218 287.6)
XYZxyz(27.9975, 17.9931, 86.7744)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AF3 #D2F35A
analogous
#5A85F3 #7B5AF3 #C75AF3
triadic
#7B5AF3 #F37B5A #5AF37B
tetradic
#7B5AF3 #F35A85 #D2F35A #5AF3C7
square
#7B5AF3 #F35A85 #D2F35A #5AF3C7
split-complementary
#7B5AF3 #F3C75A #85F35A
monochromatic
#360EC4 #4D21EF #7B5AF3 #A993F7 #D6CCFB

Accessibility & contrast

On white

4.57
#7B5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5AF3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AF3#FFFFFF#000000##000000
##7B5AF31.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#507F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5af3;
/* rgb */ color: rgb(123, 90, 243);
/* oklch */ color: oklch(58.6% 0.218 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa8af8',
    500: '#7b5af3',
    950: '#000000',
  },
}
SCSS
$custom: #7b5af3;
$custom-light: #aa8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5af3",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 252.941,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.21804,
    "h": 287.6
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#7B5AF3
secondary
#E3EEBB
accent
#E303B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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