#7B5CF3#7B5CF3

#7B5CF3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.216 H 287.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B5CF3
RGBrgb(123, 92, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(49.4%, 62.1%, 0%, 4.7%)
CIE-LABlab(49.90, 49.31, -71.85)
CIE-LCHlch(49.90, 87.14, 304.46°)
OKLaboklab(58.9% 0.064 -0.2058)
OKLCHoklch(58.9% 0.216 287.3)
XYZxyz(28.1684, 18.3350, 86.8314)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CF3 #D4F35C
analogous
#5C88F3 #7B5CF3 #C65CF3
triadic
#7B5CF3 #F37B5C #5CF37B
tetradic
#7B5CF3 #F35C88 #D4F35C #5CF3C6
square
#7B5CF3 #F35C88 #D4F35C #5CF3C6
split-complementary
#7B5CF3 #F3C65C #88F35C
monochromatic
#340FC6 #4D23EF #7B5CF3 #A995F7 #D7CEFB

Accessibility & contrast

On white

4.50
#7B5CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7B5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CF3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CF3#FFFFFF#000000##000000
##7B5CF31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#50809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5cf3;
/* rgb */ color: rgb(123, 92, 243);
/* oklch */ color: oklch(58.9% 0.216 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa8cf8',
    500: '#7b5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cf3;
$custom-light: #aa8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cf3",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 252.318,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.21557,
    "h": 287.3
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#7B5CF3
secondary
#E4EFBC
accent
#E303B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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