#7B5EEB#7B5EEB

#7B5EEB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.6% C 0.203 H 287.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B5EEB
RGBrgb(123, 94, 235)
HSLhsl(252, 78%, 65%)
HSVhsv(252, 60%, 92%)
CMYKcmyk(47.7%, 60%, 0%, 7.8%)
CIE-LABlab(49.75, 45.92, -67.60)
CIE-LCHlch(49.75, 81.72, 304.19°)
OKLaboklab(58.62% 0.0625 -0.1934)
OKLCHoklch(58.62% 0.203 287.9)
XYZxyz(27.1621, 18.2134, 80.6655)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EEB #CEEB5E
analogous
#5E88EB #7B5EEB #C15EEB
triadic
#7B5EEB #EB7B5E #5EEB7B
tetradic
#7B5EEB #EB5E88 #CEEB5E #5EEBC1
square
#7B5EEB #EB5E88 #CEEB5E #5EEBC1
split-complementary
#7B5EEB #EBC15E #88EB5E
monochromatic
#3817B8 #4E28E4 #7B5EEB #A894F2 #D4CBF9

Accessibility & contrast

On white

4.52
#7B5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EEB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EEB#FFFFFF#000000##000000
##7B5EEB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#557F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5eeb;
/* rgb */ color: rgb(123, 94, 235);
/* oklch */ color: oklch(58.6% 0.203 287.9);
Tailwind
colors: {
  custom: {
    50: '#a98df2',
    500: '#7b5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7b5eeb;
$custom-light: #a98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5eeb",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 252.34,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.20321,
    "h": 287.9
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#7B5EEB
secondary
#E1EBBA
accent
#DA0BB0
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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