#7D5BF4#7D5BF4

#7D5BF4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.218 H 288.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D5BF4
RGBrgb(125, 91, 244)
HSLhsl(253, 87%, 66%)
HSVhsv(253, 63%, 96%)
CMYKcmyk(48.8%, 62.7%, 0%, 4.3%)
CIE-LABlab(49.94, 50.51, -72.33)
CIE-LCHlch(49.94, 88.21, 304.93°)
OKLaboklab(59% 0.0675 -0.2072)
OKLCHoklch(59% 0.218 288)
XYZxyz(28.5229, 18.3725, 87.6138)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BF4 #D2F45B
analogous
#5B85F4 #7D5BF4 #C95BF4
triadic
#7D5BF4 #F47D5B #5BF47D
tetradic
#7D5BF4 #F45B85 #D2F45B #5BF4C9
square
#7D5BF4 #F45B85 #D2F45B #5BF4C9
split-complementary
#7D5BF4 #F4C95B #85F45B
monochromatic
#370DC7 #5022F0 #7D5BF4 #AA94F8 #D8CEFC

Accessibility & contrast

On white

4.49
#7D5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D5BF4#FFFFFF#000000##000000
##7D5BF41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#54809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5bf4;
/* rgb */ color: rgb(125, 91, 244);
/* oklch */ color: oklch(59.0% 0.218 288.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bf9',
    500: '#7d5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bf4;
$custom-light: #ab8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bf4",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 253.333,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.21791,
    "h": 288
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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