#7D5EBC#7D5EBC

#7D5EBC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.143 H 296.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7D5EBC
RGBrgb(125, 94, 188)
HSLhsl(260, 41%, 55%)
HSVhsv(260, 50%, 74%)
CMYKcmyk(33.5%, 50%, 0%, 26.3%)
CIE-LABlab(46.97, 33.40, -45.24)
CIE-LCHlch(46.97, 56.23, 306.44°)
OKLaboklab(55.65% 0.0642 -0.1276)
OKLCHoklch(55.65% 0.143 296.7)
XYZxyz(21.5350, 15.9959, 49.5201)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5EBC #9DBC5E
analogous
#5E6EBC #7D5EBC #AC5EBC
triadic
#7D5EBC #BC7D5E #5EBC7D
tetradic
#7D5EBC #BC5E6E #9DBC5E #5EBCAC
square
#7D5EBC #BC5E6E #9DBC5E #5EBCAC
split-complementary
#7D5EBC #BCAC5E #6EBC5E
monochromatic
#452F71 #5F419C #7D5EBC #A089CE #C3B4E0

Accessibility & contrast

On white

5.00
#7D5EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D5EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5EBC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5EBC#FFFFFF#000000##FFFFFF
##7D5EBC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#6F7084
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5ebc;
/* rgb */ color: rgb(125, 94, 188);
/* oklch */ color: oklch(55.7% 0.143 296.7);
Tailwind
colors: {
  custom: {
    50: '#a68cd1',
    500: '#7d5ebc',
    950: '#000000',
  },
}
SCSS
$custom: #7d5ebc;
$custom-light: #a68cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5ebc",
  "rgb": {
    "r": 125,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 259.787,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55654,
    "c": 0.14285,
    "h": 296.7
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#7D5EBC
secondary
#C2CFA7
accent
#D157A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7D5EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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