#7B5ADE#7B5ADE

#7B5ADE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.192 H 290.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B5ADE
RGBrgb(123, 90, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 59%, 87%)
CMYKcmyk(44.6%, 59.5%, 0%, 12.9%)
CIE-LABlab(48.00, 44.51, -63.10)
CIE-LCHlch(48.00, 77.22, 305.20°)
OKLaboklab(57.05% 0.0674 -0.1801)
OKLCHoklch(57.05% 0.192 290.5)
XYZxyz(25.0057, 16.7963, 71.0176)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5ADE #BDDE5A
analogous
#5A7BDE #7B5ADE #BD5ADE
triadic
#7B5ADE #DE7B5A #5ADE7B
tetradic
#7B5ADE #DE5A7B #BDDE5A #5ADEBD
square
#7B5ADE #DE5A7B #BDDE5A #5ADEBD
split-complementary
#7B5ADE #DEBD5A #7BDE5A
monochromatic
#3F209E #542AD1 #7B5ADE #A48DE8 #CDC0F2

Accessibility & contrast

On white

4.82
#7B5ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7B5ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5ADE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5ADE#FFFFFF#000000##FFFFFF
##7B5ADE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#5D7893
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b5ade;
/* rgb */ color: rgb(123, 90, 222);
/* oklch */ color: oklch(57.1% 0.192 290.5);
Tailwind
colors: {
  custom: {
    50: '#a88ae9',
    500: '#7b5ade',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ade;
$custom-light: #a88ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ade",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.1923,
    "h": 290.5
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#7B5ADE
secondary
#D6E3B1
accent
#CF17A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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