#7D2FFE#7D2FFE

#7D2FFE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.7% C 0.273 H 291.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D2FFE
RGBrgb(125, 47, 254)
HSLhsl(263, 99%, 59%)
HSVhsv(263, 81%, 100%)
CMYKcmyk(50.8%, 81.5%, 0%, 0.4%)
CIE-LABlab(43.58, 73.33, -88.34)
CIE-LCHlch(43.58, 114.81, 309.70°)
OKLaboklab(54.75% 0.0998 -0.2539)
OKLCHoklch(54.75% 0.273 291.5)
XYZxyz(27.3582, 13.5476, 94.9202)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FFE #B0FE2F
analogous
#2F49FE #7D2FFE #E52FFE
triadic
#7D2FFE #FE7D2F #2FFE7D
tetradic
#7D2FFE #FE2F49 #B0FE2F #2FFEE5
square
#7D2FFE #FE2F49 #B0FE2F #2FFEE5
split-complementary
#7D2FFE #FEE52F #49FE2F
monochromatic
#4401B2 #5B01EF #7D2FFE #A36CFE #C9A9FF

Accessibility & contrast

On white

5.66
#7D2FFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D2FFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2FFE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FFE#FFFFFF#000000##FFFFFF
##7D2FFE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0063FA
Tritanopia (blue-blind)
#4F6E9A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d2ffe;
/* rgb */ color: rgb(125, 47, 254);
/* oklch */ color: oklch(54.7% 0.273 291.5);
Tailwind
colors: {
  custom: {
    50: '#af73ff',
    500: '#7d2ffe',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ffe;
$custom-light: #af73ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ffe",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 254
  },
  "hsl": {
    "h": 262.609,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.27283,
    "h": 291.5
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#7D2FFE
secondary
#CEED9C
accent
#FF29AE
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120918
muted
#817B86

Preview Lab

Preview with #7D2FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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