#7149CB#7149CB

#7149CB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.191 H 292.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7149CB
RGBrgb(113, 73, 203)
HSLhsl(258, 56%, 54%)
HSVhsv(258, 64%, 80%)
CMYKcmyk(44.3%, 64%, 0%, 20.4%)
CIE-LABlab(42.13, 46.66, -61.77)
CIE-LCHlch(42.13, 77.41, 307.07°)
OKLaboklab(52.13% 0.0738 -0.1765)
OKLCHoklch(52.13% 0.191 292.7)
XYZxyz(19.9691, 12.5870, 57.8657)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7149CB #A3CB49
analogous
#4962CB #7149CB #B249CB
triadic
#7149CB #CB7149 #49CB71
tetradic
#7149CB #CB4962 #A3CB49 #49CBB2
square
#7149CB #CB4962 #A3CB49 #49CBB2
split-complementary
#7149CB #CBB249 #62CB49
monochromatic
#3C2277 #5430A7 #7149CB #9679D9 #BBA8E6

Accessibility & contrast

On white

5.97
#7149CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7149CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7149CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7149CB#FFFFFF#000000##FFFFFF
##7149CB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#576883
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7149cb;
/* rgb */ color: rgb(113, 73, 203);
/* oklch */ color: oklch(52.1% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#a07edc',
    500: '#7149cb',
    950: '#000000',
  },
}
SCSS
$custom: #7149cb;
$custom-light: #a07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7149cb",
  "rgb": {
    "r": 113,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 258.462,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.19134,
    "h": 292.7
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#7149CB
secondary
#C3D49C
accent
#DF49B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7149CB

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

Preview Lab → · Contrast checker → · Palette generator →

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