#7D5CC3#7D5CC3

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

Color values

HEX#7D5CC3
RGBrgb(125, 92, 195)
HSLhsl(259, 46%, 56%)
HSVhsv(259, 53%, 76%)
CMYKcmyk(35.9%, 52.8%, 0%, 23.5%)
CIE-LABlab(46.91, 36.43, -49.38)
CIE-LCHlch(46.91, 61.36, 306.42°)
OKLaboklab(55.74% 0.0674 -0.1398)
OKLCHoklch(55.74% 0.155 295.7)
XYZxyz(22.1324, 15.9540, 53.5325)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5CC3 #A2C35C
analogous
#5C6FC3 #7D5CC3 #B15CC3
triadic
#7D5CC3 #C37D5C #5CC37D
tetradic
#7D5CC3 #C35C6F #A2C35C #5CC3B1
square
#7D5CC3 #C35C6F #A2C35C #5CC3B1
split-complementary
#7D5CC3 #C3B15C #6FC35C
monochromatic
#452C78 #5E3DA5 #7D5CC3 #A189D3 #C4B5E4

Accessibility & contrast

On white

5.01
#7D5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7D5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5CC3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5CC3#FFFFFF#000000##FFFFFF
##7D5CC31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3270C7
Deuteranopia (green-blind)
#3B6EC1
Tritanopia (blue-blind)
#6D7187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d5cc3;
/* rgb */ color: rgb(125, 92, 195);
/* oklch */ color: oklch(55.7% 0.155 295.7);
Tailwind
colors: {
  custom: {
    50: '#a68bd6',
    500: '#7d5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d5cc3;
$custom-light: #a68bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5cc3",
  "rgb": {
    "r": 125,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 259.223,
    "s": 46.188,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.15514,
    "h": 295.7
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#7D5CC3
secondary
#C5D3A8
accent
#D652AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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