#7D2FAF#7D2FAF

#7D2FAF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.195 H 308.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2FAF
RGBrgb(125, 47, 175)
HSLhsl(277, 58%, 44%)
HSVhsv(277, 73%, 69%)
CMYKcmyk(28.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(36.91, 54.82, -53.76)
CIE-LCHlch(36.91, 76.78, 315.56°)
OKLaboklab(48.05% 0.1214 -0.1525)
OKLCHoklch(48.05% 0.195 308.5)
XYZxyz(17.2102, 9.4884, 41.4739)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FAF #61AF2F
analogous
#3D2FAF #7D2FAF #AF2FA1
triadic
#7D2FAF #AF7D2F #2FAF7D
tetradic
#7D2FAF #AF3D2F #61AF2F #2FA1AF
square
#7D2FAF #AF3D2F #61AF2F #2FA1AF
split-complementary
#7D2FAF #A1AF2F #2FAF3D
monochromatic
#38154F #5B227F #7D2FAF #9C4CCF #B77CDC

Accessibility & contrast

On white

7.25
#7D2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7D2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FAF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FAF#FFFFFF#000000##FFFFFF
##7D2FAF1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0758AC
Tritanopia (blue-blind)
#754D6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2faf;
/* rgb */ color: rgb(125, 47, 175);
/* oklch */ color: oklch(48.1% 0.195 308.5);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7d2faf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2faf;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2faf",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 276.563,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.19488,
    "h": 308.5
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#7D2FAF
secondary
#94C475
accent
#E14783
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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