#7B5CF0#7B5CF0

#7B5CF0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.212 H 287.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B5CF0
RGBrgb(123, 92, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.7%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.68, 48.46, -70.52)
CIE-LCHlch(49.68, 85.56, 304.49°)
OKLaboklab(58.68% 0.0642 -0.2019)
OKLCHoklch(58.68% 0.212 287.6)
XYZxyz(27.7191, 18.1553, 84.4649)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CF0 #D1F05C
analogous
#5C87F0 #7B5CF0 #C55CF0
triadic
#7B5CF0 #F07B5C #5CF07B
tetradic
#7B5CF0 #F05C87 #D1F05C #5CF0C5
square
#7B5CF0 #F05C87 #D1F05C #5CF0C5
split-complementary
#7B5CF0 #F0C55C #87F05C
monochromatic
#3612C0 #4E24EB #7B5CF0 #A894F5 #D6CCFA

Accessibility & contrast

On white

4.53
#7B5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CF0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CF0#FFFFFF#000000##000000
##7B5CF01.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#527F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5cf0;
/* rgb */ color: rgb(123, 92, 240);
/* oklch */ color: oklch(58.7% 0.212 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa8cf6',
    500: '#7b5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cf0;
$custom-light: #aa8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cf0",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 252.568,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.21191,
    "h": 287.6
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#7B5CF0
secondary
#E2EDBB
accent
#E006B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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