#7B5EE7#7B5EE7

#7B5EE7 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.198 H 288.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B5EE7
RGBrgb(123, 94, 231)
HSLhsl(253, 74%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(46.8%, 59.3%, 0%, 9.4%)
CIE-LABlab(49.48, 44.78, -65.80)
CIE-LCHlch(49.48, 79.59, 304.24°)
OKLaboklab(58.33% 0.0627 -0.188)
OKLCHoklch(58.33% 0.198 288.4)
XYZxyz(26.5907, 17.9848, 77.6562)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EE7 #CAE75E
analogous
#5E85E7 #7B5EE7 #BF5EE7
triadic
#7B5EE7 #E77B5E #5EE77B
tetradic
#7B5EE7 #E75E85 #CAE75E #5EE7BF
square
#7B5EE7 #E75E85 #CAE75E #5EE7BF
split-complementary
#7B5EE7 #E7BF5E #85E75E
monochromatic
#3A1AB0 #4F29DF #7B5EE7 #A793EF #D2C9F7

Accessibility & contrast

On white

4.57
#7B5EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EE7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EE7#FFFFFF#000000##000000
##7B5EE71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#587D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5ee7;
/* rgb */ color: rgb(123, 94, 231);
/* oklch */ color: oklch(58.3% 0.198 288.4);
Tailwind
colors: {
  custom: {
    50: '#a88def',
    500: '#7b5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ee7;
$custom-light: #a88def;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ee7",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 252.701,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.19822,
    "h": 288.4
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#7B5EE7
secondary
#DEE9B8
accent
#D60FAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7B5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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