#7D5BEF#7D5BEF

#7D5BEF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.212 H 288.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D5BEF
RGBrgb(125, 91, 239)
HSLhsl(254, 82%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.7%, 61.9%, 0%, 6.3%)
CIE-LABlab(49.58, 49.10, -70.11)
CIE-LCHlch(49.58, 85.60, 305.01°)
OKLaboklab(58.63% 0.0679 -0.2007)
OKLCHoklch(58.63% 0.212 288.7)
XYZxyz(27.7740, 18.0730, 83.6696)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5BEF #CDEF5B
analogous
#5B83EF #7D5BEF #C75BEF
triadic
#7D5BEF #EF7D5B #5BEF7D
tetradic
#7D5BEF #EF5B83 #CDEF5B #5BEFC7
square
#7D5BEF #EF5B83 #CDEF5B #5BEFC7
split-complementary
#7D5BEF #EFC75B #83EF5B
monochromatic
#3A12BD #5123EA #7D5BEF #A993F4 #D5CBFA

Accessibility & contrast

On white

4.55
#7D5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7D5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5BEF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5BEF#FFFFFF#000000##000000
##7D5BEF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#577E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d5bef;
/* rgb */ color: rgb(125, 91, 239);
/* oklch */ color: oklch(58.6% 0.212 288.7);
Tailwind
colors: {
  custom: {
    50: '#ab8bf5',
    500: '#7d5bef',
    950: '#000000',
  },
}
SCSS
$custom: #7d5bef;
$custom-light: #ab8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5bef",
  "rgb": {
    "r": 125,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 253.784,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.21187,
    "h": 288.7
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#7D5BEF
secondary
#E1ECBA
accent
#DF07AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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