#7D2FD0#7D2FD0

#7D2FD0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.7% C 0.228 H 300.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D2FD0
RGBrgb(125, 47, 208)
HSLhsl(269, 63%, 50%)
HSVhsv(269, 77%, 82%)
CMYKcmyk(39.9%, 77.4%, 0%, 18.4%)
CIE-LABlab(39.49, 62.40, -68.91)
CIE-LCHlch(39.49, 92.96, 312.16°)
OKLaboklab(50.68% 0.1141 -0.197)
OKLCHoklch(50.68% 0.228 300.1)
XYZxyz(20.8563, 10.9469, 60.6764)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FD0 #82D02F
analogous
#2F32D0 #7D2FD0 #CD2FD0
triadic
#7D2FD0 #D07D2F #2FD07D
tetradic
#7D2FD0 #D02F32 #82D02F #2FD0CD
square
#7D2FD0 #D02F32 #82D02F #2FD0CD
split-complementary
#7D2FD0 #D0CD2F #32D02F
monochromatic
#41186C #5F249E #7D2FD0 #9C61DB #BB93E7

Accessibility & contrast

On white

6.58
#7D2FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D2FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FD0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FD0#FFFFFF#000000##FFFFFF
##7D2FD01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#695B7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d2fd0;
/* rgb */ color: rgb(125, 47, 208);
/* oklch */ color: oklch(50.7% 0.228 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa70df',
    500: '#7d2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fd0;
$custom-light: #aa70df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fd0",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 269.068,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.22764,
    "h": 300.1
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#7D2FD0
secondary
#AFD189
accent
#E64296
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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