#7B5FF8#7B5FF8

#7B5FF8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.218 H 286.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7B5FF8
RGBrgb(123, 95, 248)
HSLhsl(251, 92%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(50.4%, 61.7%, 0%, 2.7%)
CIE-LABlab(50.89, 49.07, -73.03)
CIE-LCHlch(50.89, 87.99, 303.90°)
OKLaboklab(59.73% 0.0607 -0.2093)
OKLCHoklch(59.73% 0.218 286.2)
XYZxyz(29.1988, 19.1712, 90.9506)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FF8 #DCF85F
analogous
#5F90F8 #7B5FF8 #C75FF8
triadic
#7B5FF8 #F87B5F #5FF87B
tetradic
#7B5FF8 #F85F90 #DCF85F #5FF8C7
square
#7B5FF8 #F85F90 #DCF85F #5FF8C7
split-complementary
#7B5FF8 #F8C75F #90F85F
monochromatic
#2E09D3 #4B24F5 #7B5FF8 #AB9AFB #DCD4FD

Accessibility & contrast

On white

4.34
#7B5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7B5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FF8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FF8#FFFFFF#000000##000000
##7B5FF81.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#4C84A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b5ff8;
/* rgb */ color: rgb(123, 95, 248);
/* oklch */ color: oklch(59.7% 0.218 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa8efc',
    500: '#7b5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ff8;
$custom-light: #aa8efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ff8",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 250.98,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.21794,
    "h": 286.2
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#7B5FF8
secondary
#E9F2C1
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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