#7B5ABC#7B5ABC

#7B5ABC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.149 H 296.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7B5ABC
RGBrgb(123, 90, 188)
HSLhsl(260, 42%, 55%)
HSVhsv(260, 52%, 74%)
CMYKcmyk(34.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(45.84, 35.22, -47.04)
CIE-LCHlch(45.84, 58.77, 306.82°)
OKLaboklab(54.77% 0.0669 -0.133)
OKLCHoklch(54.77% 0.149 296.7)
XYZxyz(20.8994, 15.1538, 49.3911)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5ABC #9BBC5A
analogous
#5A6ABC #7B5ABC #AC5ABC
triadic
#7B5ABC #BC7B5A #5ABC7B
tetradic
#7B5ABC #BC5A6A #9BBC5A #5ABCAC
square
#7B5ABC #BC5A6A #9BBC5A #5ABCAC
split-complementary
#7B5ABC #BCAC5A #6ABC5A
monochromatic
#432D6F #5D3F9A #7B5ABC #9E86CE #C1B1DF

Accessibility & contrast

On white

5.21
#7B5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7B5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5ABC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5ABC#FFFFFF#000000##FFFFFF
##7B5ABC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#6C6D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b5abc;
/* rgb */ color: rgb(123, 90, 188);
/* oklch */ color: oklch(54.8% 0.149 296.7);
Tailwind
colors: {
  custom: {
    50: '#a489d1',
    500: '#7b5abc',
    950: '#000000',
  },
}
SCSS
$custom: #7b5abc;
$custom-light: #a489d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5abc",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 260.204,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.14886,
    "h": 296.7
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#7B5ABC
secondary
#C0CEA4
accent
#D256A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7B5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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