#7B5BDB#7B5BDB

#7B5BDB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.187 H 290.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7B5BDB
RGBrgb(123, 91, 219)
HSLhsl(255, 64%, 61%)
HSVhsv(255, 58%, 86%)
CMYKcmyk(43.8%, 58.4%, 0%, 14.1%)
CIE-LABlab(48.02, 43.11, -61.37)
CIE-LCHlch(48.02, 75.00, 305.08°)
OKLaboklab(57% 0.0664 -0.175)
OKLCHoklch(57% 0.187 290.8)
XYZxyz(24.6921, 16.8068, 68.9471)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BDB #BBDB5B
analogous
#5B7BDB #7B5BDB #BB5BDB
triadic
#7B5BDB #DB7B5B #5BDB7B
tetradic
#7B5BDB #DB5B7B #BBDB5B #5BDBBB
square
#7B5BDB #DB5B7B #BBDB5B #5BDBBB
split-complementary
#7B5BDB #DBBB5B #7BDB5B
monochromatic
#40229A #552DCC #7B5BDB #A38DE6 #CCBFF1

Accessibility & contrast

On white

4.81
#7B5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B5BDB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BDB#FFFFFF#000000##FFFFFF
##7B5BDB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#5F7892
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b5bdb;
/* rgb */ color: rgb(123, 91, 219);
/* oklch */ color: oklch(57.0% 0.187 290.8);
Tailwind
colors: {
  custom: {
    50: '#a78ae7',
    500: '#7b5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bdb;
$custom-light: #a78ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bdb",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.18719,
    "h": 290.8
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#7B5BDB
secondary
#D5E1B1
accent
#CC1A9F
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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