#7B5FF1#7B5FF1

#7B5FF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.209 H 287.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B5FF1
RGBrgb(123, 95, 241)
HSLhsl(252, 84%, 66%)
HSVhsv(252, 61%, 95%)
CMYKcmyk(49%, 60.6%, 0%, 5.5%)
CIE-LABlab(50.39, 47.07, -69.94)
CIE-LCHlch(50.39, 84.30, 303.94°)
OKLaboklab(59.21% 0.0611 -0.2002)
OKLCHoklch(59.21% 0.209 287)
XYZxyz(28.1331, 18.7449, 85.3378)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FF1 #D5F15F
analogous
#5F8CF1 #7B5FF1 #C45FF1
triadic
#7B5FF1 #F17B5F #5FF17B
tetradic
#7B5FF1 #F15F8C #D5F15F #5FF1C4
square
#7B5FF1 #F15F8C #D5F15F #5FF1C4
split-complementary
#7B5FF1 #F1C45F #8CF15F
monochromatic
#3411C4 #4D27EC #7B5FF1 #A997F6 #D8D0FB

Accessibility & contrast

On white

4.42
#7B5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7B5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FF1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FF1#FFFFFF#000000##000000
##7B5FF11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#51819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b5ff1;
/* rgb */ color: rgb(123, 95, 241);
/* oklch */ color: oklch(59.2% 0.209 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa8ef7',
    500: '#7b5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ff1;
$custom-light: #aa8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ff1",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 251.507,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.20936,
    "h": 287
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#7B5FF1
secondary
#E5EEBE
accent
#E005B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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