#7146FF#7146FF

#7146FF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.255 H 285.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7146FF
RGBrgb(113, 70, 255)
HSLhsl(254, 100%, 64%)
HSVhsv(254, 73%, 100%)
CMYKcmyk(55.7%, 72.5%, 0%, 0%)
CIE-LABlab(45.78, 62.56, -85.31)
CIE-LCHlch(45.78, 105.79, 306.25°)
OKLaboklab(56.03% 0.0676 -0.2456)
OKLCHoklch(56.03% 0.255 285.4)
XYZxyz(27.0447, 15.1094, 96.0797)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146FF #D4FF46
analogous
#4677FF #7146FF #CD46FF
triadic
#7146FF #FF7146 #46FF71
tetradic
#7146FF #FF4677 #D4FF46 #46FFCD
square
#7146FF #FF4677 #D4FF46 #46FFCD
split-complementary
#7146FF #FFCD46 #77FF46
monochromatic
#2F00CB #4209FF #7146FF #A083FF #CFC0FF

Accessibility & contrast

On white

5.22
#7146FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7146FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146FF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146FF#FFFFFF#000000##FFFFFF
##7146FF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#2B799F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7146ff;
/* rgb */ color: rgb(113, 70, 255);
/* oklch */ color: oklch(56.0% 0.255 285.4);
Tailwind
colors: {
  custom: {
    50: '#a77eff',
    500: '#7146ff',
    950: '#000000',
  },
}
SCSS
$custom: #7146ff;
$custom-light: #a77eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7146ff",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 253.946,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.25475,
    "h": 285.4
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#7146FF
secondary
#E2F1B0
accent
#E600B0
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7146FF

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

Preview Lab → · Contrast checker → · Palette generator →

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