#7134C2#7134C2

#7134C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.207 H 297.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7134C2
RGBrgb(113, 52, 194)
HSLhsl(266, 58%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(41.8%, 73.2%, 0%, 23.9%)
CIE-LABlab(37.59, 54.92, -63.93)
CIE-LCHlch(37.59, 84.28, 310.67°)
OKLaboklab(48.66% 0.0961 -0.1828)
OKLCHoklch(48.66% 0.207 297.7)
XYZxyz(17.7731, 9.8614, 51.9955)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7134C2 #85C234
analogous
#343EC2 #7134C2 #B834C2
triadic
#7134C2 #C27134 #34C271
tetradic
#7134C2 #C2343E #85C234 #34C2B8
square
#7134C2 #C2343E #85C234 #34C2B8
split-complementary
#7134C2 #C2B834 #3EC234
monochromatic
#391A61 #552792 #7134C2 #915FD4 #B28FE1

Accessibility & contrast

On white

7.06
#7134C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7134C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7134C2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7134C2#FFFFFF#000000##FFFFFF
##7134C21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#5D5878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7134c2;
/* rgb */ color: rgb(113, 52, 194);
/* oklch */ color: oklch(48.7% 0.207 297.7);
Tailwind
colors: {
  custom: {
    50: '#a171d5',
    500: '#7134c2',
    950: '#000000',
  },
}
SCSS
$custom: #7134c2;
$custom-light: #a171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7134c2",
  "rgb": {
    "r": 113,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 265.775,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.20651,
    "h": 297.7
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#7134C2
secondary
#AECC86
accent
#E1479F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7134C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7134C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva