#7151CA#7151CA

#7151CA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.179 H 291.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7151CA
RGBrgb(113, 81, 202)
HSLhsl(256, 53%, 55%)
HSVhsv(256, 60%, 79%)
CMYKcmyk(44.1%, 59.9%, 0%, 20.8%)
CIE-LABlab(43.74, 41.91, -58.59)
CIE-LCHlch(43.74, 72.04, 305.58°)
OKLaboklab(53.27% 0.0651 -0.1672)
OKLCHoklch(53.27% 0.179 291.3)
XYZxyz(20.4102, 13.6592, 57.4268)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151CA #AACA51
analogous
#516DCA #7151CA #AE51CA
triadic
#7151CA #CA7151 #51CA71
tetradic
#7151CA #CA516D #AACA51 #51CAAE
square
#7151CA #CA516D #AACA51 #51CAAE
split-complementary
#7151CA #CAAE51 #6DCA51
monochromatic
#3C257B #5334AA #7151CA #9780D8 #BEAFE7

Accessibility & contrast

On white

5.63
#7151CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7151CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151CA#FFFFFF#000000##FFFFFF
##7151CA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#576C86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7151ca;
/* rgb */ color: rgb(113, 81, 202);
/* oklch */ color: oklch(53.3% 0.179 291.3);
Tailwind
colors: {
  custom: {
    50: '#a083db',
    500: '#7151ca',
    950: '#000000',
  },
}
SCSS
$custom: #7151ca;
$custom-light: #a083db;
$custom-dark: #000000;
JSON
{
  "hex": "#7151ca",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 255.868,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.1794,
    "h": 291.3
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#7151CA
secondary
#C7D5A2
accent
#DD4BB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7151CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7151CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva