#7B5EEF#7B5EEF

#7B5EEF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.208 H 287.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B5EEF
RGBrgb(123, 94, 239)
HSLhsl(252, 82%, 65%)
HSVhsv(252, 61%, 94%)
CMYKcmyk(48.5%, 60.7%, 0%, 6.3%)
CIE-LABlab(50.03, 47.06, -69.39)
CIE-LCHlch(50.03, 83.84, 304.14°)
OKLaboklab(58.91% 0.0623 -0.1986)
OKLCHoklch(58.91% 0.208 287.4)
XYZxyz(27.7465, 18.4471, 83.7433)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EEF #D2EF5E
analogous
#5E89EF #7B5EEF #C35EEF
triadic
#7B5EEF #EF7B5E #5EEF7B
tetradic
#7B5EEF #EF5E89 #D2EF5E #5EEFC3
square
#7B5EEF #EF5E89 #D2EF5E #5EEFC3
split-complementary
#7B5EEF #EFC35E #89EF5E
monochromatic
#3613C0 #4D26E9 #7B5EEF #A996F5 #D6CDFA

Accessibility & contrast

On white

4.48
#7B5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EEF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EEF#FFFFFF#000000##000000
##7B5EEF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#53809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5eef;
/* rgb */ color: rgb(123, 94, 239);
/* oklch */ color: oklch(58.9% 0.208 287.4);
Tailwind
colors: {
  custom: {
    50: '#a98df5',
    500: '#7b5eef',
    950: '#000000',
  },
}
SCSS
$custom: #7b5eef;
$custom-light: #a98df5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5eef",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 252,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.20816,
    "h": 287.4
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#7B5EEF
secondary
#E3EDBC
accent
#DE07B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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