#7149C2#7149C2

#7149C2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.180 H 294.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7149C2
RGBrgb(113, 73, 194)
HSLhsl(260, 50%, 52%)
HSVhsv(260, 62%, 76%)
CMYKcmyk(41.8%, 62.4%, 0%, 23.9%)
CIE-LABlab(41.49, 44.20, -57.60)
CIE-LCHlch(41.49, 72.60, 307.50°)
OKLaboklab(51.45% 0.0746 -0.1643)
OKLCHoklch(51.45% 0.18 294.4)
XYZxyz(18.9276, 12.1704, 52.3803)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7149C2 #9AC249
analogous
#495DC2 #7149C2 #AE49C2
triadic
#7149C2 #C27149 #49C271
tetradic
#7149C2 #C2495D #9AC249 #49C2AE
square
#7149C2 #C2495D #9AC249 #49C2AE
split-complementary
#7149C2 #C2AE49 #5DC249
monochromatic
#3C246C #56349A #7149C2 #9577D1 #B9A5E1

Accessibility & contrast

On white

6.11
#7149C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7149C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7149C2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7149C2#FFFFFF#000000##FFFFFF
##7149C21.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#5B647F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7149c2;
/* rgb */ color: rgb(113, 73, 194);
/* oklch */ color: oklch(51.4% 0.180 294.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ed5',
    500: '#7149c2',
    950: '#000000',
  },
}
SCSS
$custom: #7149c2;
$custom-light: #9f7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7149c2",
  "rgb": {
    "r": 113,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 259.835,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.18039,
    "h": 294.4
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#7149C2
secondary
#BCCE99
accent
#D94EAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7149C2

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

Preview Lab → · Contrast checker → · Palette generator →

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