#7D5BF3#7D5BF3

#7D5BF3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.217 H 288.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D5BF3
RGBrgb(125, 91, 243)
HSLhsl(253, 86%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(48.6%, 62.6%, 0%, 4.7%)
CIE-LABlab(49.87, 50.23, -71.88)
CIE-LCHlch(49.87, 87.69, 304.94°)
OKLaboklab(58.93% 0.0676 -0.2059)
OKLCHoklch(58.93% 0.217 288.2)
XYZxyz(28.3715, 18.3120, 86.8163)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BF3 #D1F35B
analogous
#5B85F3 #7D5BF3 #C95BF3
triadic
#7D5BF3 #F37D5B #5BF37D
tetradic
#7D5BF3 #F35B85 #D1F35B #5BF3C9
square
#7D5BF3 #F35B85 #D1F35B #5BF3C9
split-complementary
#7D5BF3 #F3C95B #85F35B
monochromatic
#370EC5 #5022EF #7D5BF3 #AA94F7 #D7CDFB

Accessibility & contrast

On white

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

On black

4.66
#7D5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BF3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BF3#FFFFFF#000000##000000
##7D5BF31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#547F9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d5bf3;
/* rgb */ color: rgb(125, 91, 243);
/* oklch */ color: oklch(58.9% 0.217 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab8bf8',
    500: '#7d5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bf3;
$custom-light: #ab8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bf3",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 253.421,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.21671,
    "h": 288.2
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#7D5BF3
secondary
#E3EEBB
accent
#E303B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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