#7147FF#7147FF

#7147FF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.254 H 285.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7147FF
RGBrgb(113, 71, 255)
HSLhsl(254, 100%, 64%)
HSVhsv(254, 72%, 100%)
CMYKcmyk(55.7%, 72.2%, 0%, 0%)
CIE-LABlab(45.96, 62.07, -85.03)
CIE-LCHlch(45.96, 105.27, 306.13°)
OKLaboklab(56.15% 0.0669 -0.2448)
OKLCHoklch(56.15% 0.254 285.3)
XYZxyz(27.1078, 15.2356, 96.1007)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147FF #D5FF47
analogous
#4779FF #7147FF #CD47FF
triadic
#7147FF #FF7147 #47FF71
tetradic
#7147FF #FF4779 #D5FF47 #47FFCD
square
#7147FF #FF4779 #D5FF47 #47FFCD
split-complementary
#7147FF #FFCD47 #79FF47
monochromatic
#2E00CC #420AFF #7147FF #A084FF #CFC1FF

Accessibility & contrast

On white

5.19
#7147FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7147FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147FF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147FF#FFFFFF#000000##FFFFFF
##7147FF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#2B7A9F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7147ff;
/* rgb */ color: rgb(113, 71, 255);
/* oklch */ color: oklch(56.2% 0.254 285.3);
Tailwind
colors: {
  custom: {
    50: '#a77eff',
    500: '#7147ff',
    950: '#000000',
  },
}
SCSS
$custom: #7147ff;
$custom-light: #a77eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7147ff",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 253.696,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.25377,
    "h": 285.3
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#7147FF
secondary
#E2F1B1
accent
#E600B1
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7147FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7147FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva