#7B5FFE#7B5FFE

#7B5FFE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.225 H 285.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7B5FFE
RGBrgb(123, 95, 254)
HSLhsl(251, 99%, 68%)
HSVhsv(251, 63%, 100%)
CMYKcmyk(51.6%, 62.6%, 0%, 0.4%)
CIE-LABlab(51.32, 50.79, -75.66)
CIE-LCHlch(51.32, 91.12, 303.87°)
OKLaboklab(60.19% 0.0602 -0.217)
OKLCHoklch(60.19% 0.225 285.5)
XYZxyz(30.1446, 19.5495, 95.9318)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FFE #E2FE5F
analogous
#5F92FE #7B5FFE #CA5FFE
triadic
#7B5FFE #FE7B5F #5FFE7B
tetradic
#7B5FFE #FE5F92 #E2FE5F #5FFECA
square
#7B5FFE #FE5F92 #E2FE5F #5FFECA
split-complementary
#7B5FFE #FECA5F #92FE5F
monochromatic
#2901E1 #4922FE #7B5FFE #AD9CFE #DFD9FF

Accessibility & contrast

On white

4.28
#7B5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7B5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FFE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FFE#FFFFFF#000000##000000
##7B5FFE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#4786A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b5ffe;
/* rgb */ color: rgb(123, 95, 254);
/* oklch */ color: oklch(60.2% 0.225 285.5);
Tailwind
colors: {
  custom: {
    50: '#ab8eff',
    500: '#7b5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ffe;
$custom-light: #ab8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ffe",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 250.566,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.22523,
    "h": 285.5
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#7B5FFE
secondary
#ECF4C4
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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