#7B5FF0#7B5FF0

#7B5FF0 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.208 H 287.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B5FF0
RGBrgb(123, 95, 240)
HSLhsl(252, 83%, 66%)
HSVhsv(252, 60%, 94%)
CMYKcmyk(48.7%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.32, 46.78, -69.49)
CIE-LCHlch(50.32, 83.77, 303.95°)
OKLaboklab(59.14% 0.0612 -0.1989)
OKLCHoklch(59.14% 0.208 287.1)
XYZxyz(27.9842, 18.6854, 84.5533)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FF0 #D4F05F
analogous
#5F8BF0 #7B5FF0 #C35FF0
triadic
#7B5FF0 #F07B5F #5FF07B
tetradic
#7B5FF0 #F05F8B #D4F05F #5FF0C3
square
#7B5FF0 #F05F8B #D4F05F #5FF0C3
split-complementary
#7B5FF0 #F0C35F #8BF05F
monochromatic
#3412C2 #4D27EB #7B5FF0 #A997F5 #D7CFFA

Accessibility & contrast

On white

4.43
#7B5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FF0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FF0#FFFFFF#000000##000000
##7B5FF01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#52819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b5ff0;
/* rgb */ color: rgb(123, 95, 240);
/* oklch */ color: oklch(59.1% 0.208 287.1);
Tailwind
colors: {
  custom: {
    50: '#a98ef6',
    500: '#7b5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ff0;
$custom-light: #a98ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ff0",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 251.586,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.20812,
    "h": 287.1
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#7B5FF0
secondary
#E4EEBD
accent
#DF06B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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