#7B5FEF#7B5FEF

#7B5FEF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.207 H 287.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B5FEF
RGBrgb(123, 95, 239)
HSLhsl(252, 82%, 65%)
HSVhsv(252, 60%, 94%)
CMYKcmyk(48.5%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.25, 46.49, -69.05)
CIE-LCHlch(50.25, 83.24, 303.96°)
OKLaboklab(59.07% 0.0613 -0.1976)
OKLCHoklch(59.07% 0.207 287.2)
XYZxyz(27.8360, 18.6261, 83.7731)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FEF #D3EF5F
analogous
#5F8BEF #7B5FEF #C35FEF
triadic
#7B5FEF #EF7B5F #5FEF7B
tetradic
#7B5FEF #EF5F8B #D3EF5F #5FEFC3
square
#7B5FEF #EF5F8B #D3EF5F #5FEFC3
split-complementary
#7B5FEF #EFC35F #8BEF5F
monochromatic
#3513C0 #4D27E9 #7B5FEF #A997F5 #D7CEFA

Accessibility & contrast

On white

4.44
#7B5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7B5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FEF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FEF#FFFFFF#000000##000000
##7B5FEF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#53819E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b5fef;
/* rgb */ color: rgb(123, 95, 239);
/* oklch */ color: oklch(59.1% 0.207 287.2);
Tailwind
colors: {
  custom: {
    50: '#a98df5',
    500: '#7b5fef',
    950: '#000000',
  },
}
SCSS
$custom: #7b5fef;
$custom-light: #a98df5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5fef",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 251.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.20688,
    "h": 287.2
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#7B5FEF
secondary
#E4EDBD
accent
#DE07B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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