#7C2DBF#7C2DBF

#7C2DBF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.213 H 303.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7C2DBF
RGBrgb(124, 45, 191)
HSLhsl(272, 62%, 46%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.70, 59.07, -61.92)
CIE-LCHlch(37.70, 85.58, 313.65°)
OKLaboklab(48.97% 0.1186 -0.1765)
OKLCHoklch(48.97% 0.213 303.9)
XYZxyz(18.6524, 9.9235, 50.2129)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2DBF #70BF2D
analogous
#332DBF #7C2DBF #BF2DB9
triadic
#7C2DBF #BF7C2D #2DBF7C
tetradic
#7C2DBF #BF332D #70BF2D #2DB9BF
square
#7C2DBF #BF332D #70BF2D #2DB9BF
split-complementary
#7C2DBF #B9BF2D #2DBF33
monochromatic
#3C165C #5C218D #7C2DBF #9A53D6 #B784E2

Accessibility & contrast

On white

7.04
#7C2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7C2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2DBF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2DBF#FFFFFF#000000##FFFFFF
##7C2DBF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#6F5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2dbf;
/* rgb */ color: rgb(124, 45, 191);
/* oklch */ color: oklch(49.0% 0.213 303.9);
Tailwind
colors: {
  custom: {
    50: '#a86fd3',
    500: '#7c2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2dbf;
$custom-light: #a86fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2dbf",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 272.466,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.21265,
    "h": 303.9
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#7C2DBF
secondary
#A1CB7C
accent
#E5438D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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