#7B5DF0#7B5DF0

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

Color values

HEX#7B5DF0
RGBrgb(123, 93, 240)
HSLhsl(252, 83%, 65%)
HSVhsv(252, 61%, 94%)
CMYKcmyk(48.7%, 61.2%, 0%, 5.9%)
CIE-LABlab(49.89, 47.90, -70.18)
CIE-LCHlch(49.89, 84.97, 304.31°)
OKLaboklab(58.83% 0.0632 -0.2009)
OKLCHoklch(58.83% 0.211 287.5)
XYZxyz(27.8063, 18.3297, 84.4940)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DF0 #D2F05D
analogous
#5D88F0 #7B5DF0 #C55DF0
triadic
#7B5DF0 #F07B5D #5DF07B
tetradic
#7B5DF0 #F05D88 #D2F05D #5DF0C5
square
#7B5DF0 #F05D88 #D2F05D #5DF0C5
split-complementary
#7B5DF0 #F0C55D #88F05D
monochromatic
#3612C1 #4D25EB #7B5DF0 #A995F5 #D6CDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B5DF0#FFFFFF#000000##000000
##7B5DF01.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)
#007AF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#52809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5df0;
/* rgb */ color: rgb(123, 93, 240);
/* oklch */ color: oklch(58.8% 0.211 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa8cf6',
    500: '#7b5df0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5df0;
$custom-light: #aa8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5df0",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 252.245,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.21065,
    "h": 287.5
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#7B5DF0
secondary
#E3EDBC
accent
#DF06B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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