#7B5EFC#7B5EFC

#7B5EFC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.224 H 285.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B5EFC
RGBrgb(123, 94, 252)
HSLhsl(251, 96%, 68%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(51.2%, 62.7%, 0%, 1.2%)
CIE-LABlab(50.97, 50.77, -75.12)
CIE-LCHlch(50.97, 90.67, 304.05°)
OKLaboklab(59.89% 0.0613 -0.2155)
OKLCHoklch(59.89% 0.224 285.9)
XYZxyz(29.7365, 19.2431, 94.2240)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EFC #DFFC5E
analogous
#5E90FC #7B5EFC #CA5EFC
triadic
#7B5EFC #FC7B5E #5EFC7B
tetradic
#7B5EFC #FC5E90 #DFFC5E #5EFCCA
square
#7B5EFC #FC5E90 #DFFC5E #5EFCCA
split-complementary
#7B5EFC #FCCA5E #90FC5E
monochromatic
#2C04DC #4A22FB #7B5EFC #AC9AFD #DED6FE

Accessibility & contrast

On white

4.33
#7B5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7B5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EFC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EFC#FFFFFF#000000##000000
##7B5EFC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#4984A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b5efc;
/* rgb */ color: rgb(123, 94, 252);
/* oklch */ color: oklch(59.9% 0.224 285.9);
Tailwind
colors: {
  custom: {
    50: '#ab8dfe',
    500: '#7b5efc',
    950: '#000000',
  },
}
SCSS
$custom: #7b5efc;
$custom-light: #ab8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5efc",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 251.013,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.22402,
    "h": 285.9
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#7B5EFC
secondary
#EAF3C3
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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