#7134B2#7134B2

#7134B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.189 H 301.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7134B2
RGBrgb(113, 52, 178)
HSLhsl(269, 55%, 45%)
HSVhsv(269, 71%, 70%)
CMYKcmyk(36.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(36.33, 50.93, -56.55)
CIE-LCHlch(36.33, 76.10, 312.01°)
OKLaboklab(47.37% 0.0992 -0.1611)
OKLCHoklch(47.37% 0.189 301.6)
XYZxyz(16.0720, 9.1810, 43.0362)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7134B2 #75B234
analogous
#3436B2 #7134B2 #B034B2
triadic
#7134B2 #B27134 #34B271
tetradic
#7134B2 #B23436 #75B234 #34B2B0
square
#7134B2 #B23436 #75B234 #34B2B0
split-complementary
#7134B2 #B2B034 #36B234
monochromatic
#351853 #532683 #7134B2 #9056CE #AF85DB

Accessibility & contrast

On white

7.40
#7134B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7134B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7134B2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7134B2#FFFFFF#000000##FFFFFF
##7134B21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#63526F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7134b2;
/* rgb */ color: rgb(113, 52, 178);
/* oklch */ color: oklch(47.4% 0.189 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f71ca',
    500: '#7134b2',
    950: '#000000',
  },
}
SCSS
$custom: #7134b2;
$custom-light: #9f71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7134b2",
  "rgb": {
    "r": 113,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 269.048,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.18922,
    "h": 301.6
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#7134B2
secondary
#A2C57D
accent
#DE4A96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7134B2

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

Preview Lab → · Contrast checker → · Palette generator →

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