#7B5EF3#7B5EF3

#7B5EF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.213 H 286.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B5EF3
RGBrgb(123, 94, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 61%, 95%)
CMYKcmyk(49.4%, 61.3%, 0%, 4.7%)
CIE-LABlab(50.32, 48.20, -71.17)
CIE-LCHlch(50.32, 85.95, 304.11°)
OKLaboklab(59.21% 0.062 -0.2038)
OKLCHoklch(59.21% 0.213 286.9)
XYZxyz(28.3440, 18.6861, 86.8899)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EF3 #D6F35E
analogous
#5E8BF3 #7B5EF3 #C55EF3
triadic
#7B5EF3 #F37B5E #5EF37B
tetradic
#7B5EF3 #F35E8B #D6F35E #5EF3C5
square
#7B5EF3 #F35E8B #D6F35E #5EF3C5
split-complementary
#7B5EF3 #F3C55E #8BF35E
monochromatic
#330FC8 #4C25EF #7B5EF3 #AA97F7 #D8D0FB

Accessibility & contrast

On white

4.43
#7B5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EF3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EF3#FFFFFF#000000##000000
##7B5EF31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5081A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b5ef3;
/* rgb */ color: rgb(123, 94, 243);
/* oklch */ color: oklch(59.2% 0.213 286.9);
Tailwind
colors: {
  custom: {
    50: '#aa8df8',
    500: '#7b5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ef3;
$custom-light: #aa8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ef3",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 251.678,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.21308,
    "h": 286.9
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#7B5EF3
secondary
#E5EFBE
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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