#7D6295#7D6295

#7D6295 is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.3% C 0.083 H 308.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7D6295
RGBrgb(125, 98, 149)
HSLhsl(272, 21%, 48%)
HSVhsv(272, 34%, 58%)
CMYKcmyk(16.1%, 34.2%, 0%, 41.6%)
CIE-LABlab(46.00, 21.23, -23.85)
CIE-LCHlch(46.00, 31.93, 311.67°)
OKLaboklab(54.28% 0.0514 -0.0657)
OKLCHoklch(54.28% 0.083 308.1)
XYZxyz(18.2489, 15.2654, 30.4131)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6295 #7A9562
analogous
#636295 #7D6295 #956293
triadic
#7D6295 #957D62 #62957D
tetradic
#7D6295 #956362 #7A9562 #629395
square
#7D6295 #956362 #7A9562 #629395
split-complementary
#7D6295 #939562 #629563
monochromatic
#3F314B #5E4A70 #7D6295 #9B85AF #BAAAC7

Accessibility & contrast

On white

5.18
#7D6295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7D6295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6295
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6295#FFFFFF#000000##FFFFFF
##7D62951.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C97
Deuteranopia (green-blind)
#5E6D94
Tritanopia (blue-blind)
#7A6975
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6295;
/* rgb */ color: rgb(125, 98, 149);
/* oklch */ color: oklch(54.3% 0.083 308.1);
Tailwind
colors: {
  custom: {
    50: '#a38fb4',
    500: '#7d6295',
    950: '#000000',
  },
}
SCSS
$custom: #7d6295;
$custom-light: #a38fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6295",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 149
  },
  "hsl": {
    "h": 271.765,
    "s": 20.648,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.08339,
    "h": 308.1
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#7D6295
secondary
#A9B69D
accent
#BD6B91
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7D6295

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

Preview Lab → · Contrast checker → · Palette generator →

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