#7C2FBD#7C2FBD

#7C2FBD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.209 H 304.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7C2FBD
RGBrgb(124, 47, 189)
HSLhsl(273, 60%, 46%)
HSVhsv(273, 75%, 74%)
CMYKcmyk(34.4%, 75.1%, 0%, 25.9%)
CIE-LABlab(37.83, 57.81, -60.55)
CIE-LCHlch(37.83, 83.71, 313.67°)
OKLaboklab(49.01% 0.1173 -0.1725)
OKLCHoklch(49.01% 0.209 304.2)
XYZxyz(18.5119, 9.9923, 49.0877)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2FBD #70BD2F
analogous
#352FBD #7C2FBD #BD2FB7
triadic
#7C2FBD #BD7C2F #2FBD7C
tetradic
#7C2FBD #BD352F #70BD2F #2FB7BD
square
#7C2FBD #BD352F #70BD2F #2FB7BD
split-complementary
#7C2FBD #B7BD2F #2FBD35
monochromatic
#3C175B #5C238C #7C2FBD #9A55D5 #B786E1

Accessibility & contrast

On white

7.00
#7C2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7C2FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2FBD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2FBD#FFFFFF#000000##FFFFFF
##7C2FBD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#6F5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2fbd;
/* rgb */ color: rgb(124, 47, 189);
/* oklch */ color: oklch(49.0% 0.209 304.2);
Tailwind
colors: {
  custom: {
    50: '#a86fd2',
    500: '#7c2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7c2fbd;
$custom-light: #a86fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2fbd",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 272.535,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.20858,
    "h": 304.2
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#7C2FBD
secondary
#A1CA7E
accent
#E3448D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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