#7B5EEE#7B5EEE

#7B5EEE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.8% C 0.207 H 287.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B5EEE
RGBrgb(123, 94, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.3%, 60.5%, 0%, 6.7%)
CIE-LABlab(49.96, 46.77, -68.94)
CIE-LCHlch(49.96, 83.31, 304.15°)
OKLaboklab(58.84% 0.0623 -0.1973)
OKLCHoklch(58.84% 0.207 287.5)
XYZxyz(27.5992, 18.3882, 82.9674)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EEE #D1EE5E
analogous
#5E89EE #7B5EEE #C35EEE
triadic
#7B5EEE #EE7B5E #5EEE7B
tetradic
#7B5EEE #EE5E89 #D1EE5E #5EEEC3
square
#7B5EEE #EE5E89 #D1EE5E #5EEEC3
split-complementary
#7B5EEE #EEC35E #89EE5E
monochromatic
#3614BE #4E27E8 #7B5EEE #A895F4 #D6CDFA

Accessibility & contrast

On white

4.49
#7B5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EEE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EEE#FFFFFF#000000##000000
##7B5EEE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#53809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5eee;
/* rgb */ color: rgb(123, 94, 238);
/* oklch */ color: oklch(58.8% 0.207 287.5);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7b5eee',
    950: '#000000',
  },
}
SCSS
$custom: #7b5eee;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5eee",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 252.083,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.20692,
    "h": 287.5
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#7B5EEE
secondary
#E2ECBB
accent
#DD08B2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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