#7D2FBA#7D2FBA

#7D2FBA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.206 H 305.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7D2FBA
RGBrgb(125, 47, 186)
HSLhsl(274, 60%, 46%)
HSVhsv(274, 75%, 73%)
CMYKcmyk(32.8%, 74.7%, 0%, 27.1%)
CIE-LABlab(37.73, 57.30, -58.93)
CIE-LCHlch(37.73, 82.20, 314.19°)
OKLaboklab(48.9% 0.1193 -0.1677)
OKLCHoklch(48.9% 0.206 305.4)
XYZxyz(18.3349, 9.9383, 47.3972)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FBA #6CBA2F
analogous
#372FBA #7D2FBA #BA2FB1
triadic
#7D2FBA #BA7D2F #2FBA7D
tetradic
#7D2FBA #BA372F #6CBA2F #2FB1BA
square
#7D2FBA #BA372F #6CBA2F #2FB1BA
split-complementary
#7D2FBA #B1BA2F #2FBA37
monochromatic
#3B1658 #5C2389 #7D2FBA #9B53D3 #B784E0

Accessibility & contrast

On white

7.03
#7D2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7D2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FBA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FBA#FFFFFF#000000##FFFFFF
##7D2FBA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#725172
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2fba;
/* rgb */ color: rgb(125, 47, 186);
/* oklch */ color: oklch(48.9% 0.206 305.4);
Tailwind
colors: {
  custom: {
    50: '#a86fd0',
    500: '#7d2fba',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fba;
$custom-light: #a86fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fba",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 273.669,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48895,
    "c": 0.20581,
    "h": 305.4
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#7D2FBA
secondary
#9EC97C
accent
#E3458A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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