#7A2DCF#7A2DCF

#7A2DCF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.228 H 299.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7A2DCF
RGBrgb(122, 45, 207)
HSLhsl(269, 64%, 49%)
HSVhsv(269, 78%, 81%)
CMYKcmyk(41.1%, 78.3%, 0%, 18.8%)
CIE-LABlab(38.76, 62.47, -69.54)
CIE-LCHlch(38.76, 93.48, 311.93°)
OKLaboklab(50.06% 0.1116 -0.1989)
OKLCHoklch(50.06% 0.228 299.3)
XYZxyz(20.2240, 10.5191, 59.9843)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2DCF #82CF2D
analogous
#2D31CF #7A2DCF #CB2DCF
triadic
#7A2DCF #CF7A2D #2DCF7A
tetradic
#7A2DCF #CF2D31 #82CF2D #2DCFCB
square
#7A2DCF #CF2D31 #82CF2D #2DCFCB
split-complementary
#7A2DCF #CFCB2D #31CF2D
monochromatic
#3F176A #5C229D #7A2DCF #995DDC #B990E7

Accessibility & contrast

On white

6.77
#7A2DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A2DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2DCF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2DCF#FFFFFF#000000##FFFFFF
##7A2DCF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#655A7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a2dcf;
/* rgb */ color: rgb(122, 45, 207);
/* oklch */ color: oklch(50.1% 0.228 299.3);
Tailwind
colors: {
  custom: {
    50: '#a86fdf',
    500: '#7a2dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2dcf;
$custom-light: #a86fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2dcf",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 268.519,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.2281,
    "h": 299.3
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#7A2DCF
secondary
#AED187
accent
#E74198
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7A2DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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