#7B5EF0#7B5EF0

#7B5EF0 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.209 H 287.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B5EF0
RGBrgb(123, 94, 240)
HSLhsl(252, 83%, 65%)
HSVhsv(252, 61%, 94%)
CMYKcmyk(48.7%, 60.8%, 0%, 5.9%)
CIE-LABlab(50.10, 47.34, -69.84)
CIE-LCHlch(50.10, 84.37, 304.13°)
OKLaboklab(58.98% 0.0622 -0.1999)
OKLCHoklch(58.98% 0.209 287.3)
XYZxyz(27.8947, 18.5064, 84.5235)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EF0 #D3F05E
analogous
#5E8AF0 #7B5EF0 #C45EF0
triadic
#7B5EF0 #F07B5E #5EF07B
tetradic
#7B5EF0 #F05E8A #D3F05E #5EF0C4
square
#7B5EF0 #F05E8A #D3F05E #5EF0C4
split-complementary
#7B5EF0 #F0C45E #8AF05E
monochromatic
#3512C2 #4D26EB #7B5EF0 #A996F5 #D7CEFA

Accessibility & contrast

On white

4.47
#7B5EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7B5EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EF0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EF0#FFFFFF#000000##000000
##7B5EF01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#52809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5ef0;
/* rgb */ color: rgb(123, 94, 240);
/* oklch */ color: oklch(59.0% 0.209 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa8df6',
    500: '#7b5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ef0;
$custom-light: #aa8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ef0",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 251.918,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.20939,
    "h": 287.3
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#7B5EF0
secondary
#E4EDBC
accent
#DF06B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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