#7D5FFB#7D5FFB

#7D5FFB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.221 H 286.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D5FFB
RGBrgb(125, 95, 251)
HSLhsl(252, 95%, 68%)
HSVhsv(252, 62%, 98%)
CMYKcmyk(50.2%, 62.2%, 0%, 1.6%)
CIE-LABlab(51.28, 50.29, -74.06)
CIE-LCHlch(51.28, 89.52, 304.18°)
OKLaboklab(60.13% 0.063 -0.2123)
OKLCHoklch(60.13% 0.221 286.5)
XYZxyz(29.9571, 19.5080, 93.4350)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5FFB #DDFB5F
analogous
#5F8FFB #7D5FFB #CB5FFB
triadic
#7D5FFB #FB7D5F #5FFB7D
tetradic
#7D5FFB #FB5F8F #DDFB5F #5FFBCB
square
#7D5FFB #FB5F8F #DDFB5F #5FFBCB
split-complementary
#7D5FFB #FBCB5F #8FFB5F
monochromatic
#2E05DA #4C23FA #7D5FFB #AE9BFC #DED6FE

Accessibility & contrast

On white

4.28
#7D5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D5FFB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5FFB#FFFFFF#000000##000000
##7D5FFB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#4E85A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d5ffb;
/* rgb */ color: rgb(125, 95, 251);
/* oklch */ color: oklch(60.1% 0.221 286.5);
Tailwind
colors: {
  custom: {
    50: '#ac8efe',
    500: '#7d5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ffb;
$custom-light: #ac8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ffb",
  "rgb": {
    "r": 125,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 251.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.22144,
    "h": 286.5
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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