#7B5EF9#7B5EF9

#7B5EF9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.220 H 286.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7B5EF9
RGBrgb(123, 94, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 62%, 98%)
CMYKcmyk(50.6%, 62.2%, 0%, 2.4%)
CIE-LABlab(50.75, 49.91, -73.81)
CIE-LCHlch(50.75, 89.10, 304.07°)
OKLaboklab(59.66% 0.0616 -0.2116)
OKLCHoklch(59.66% 0.22 286.2)
XYZxyz(29.2649, 19.0545, 91.7400)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EF9 #DCF95E
analogous
#5E8EF9 #7B5EF9 #C95EF9
triadic
#7B5EF9 #F97B5E #5EF97B
tetradic
#7B5EF9 #F95E8E #DCF95E #5EF9C9
square
#7B5EF9 #F95E8E #DCF95E #5EF9C9
split-complementary
#7B5EF9 #F9C95E #8EF95E
monochromatic
#2E08D5 #4B23F7 #7B5EF9 #AB99FB #DCD4FD

Accessibility & contrast

On white

4.36
#7B5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7B5EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EF9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EF9#FFFFFF#000000##000000
##7B5EF91.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#4B83A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b5ef9;
/* rgb */ color: rgb(123, 94, 249);
/* oklch */ color: oklch(59.7% 0.220 286.2);
Tailwind
colors: {
  custom: {
    50: '#ab8dfc',
    500: '#7b5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ef9;
$custom-light: #ab8dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ef9",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 251.226,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.22039,
    "h": 286.2
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#7B5EF9
secondary
#E9F2C1
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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