#7145FF#7145FF

#7145FF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.256 H 285.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7145FF
RGBrgb(113, 69, 255)
HSLhsl(254, 100%, 64%)
HSVhsv(254, 73%, 100%)
CMYKcmyk(55.7%, 72.9%, 0%, 0%)
CIE-LABlab(45.61, 63.04, -85.59)
CIE-LCHlch(45.61, 106.29, 306.37°)
OKLaboklab(55.91% 0.0683 -0.2464)
OKLCHoklch(55.91% 0.256 285.5)
XYZxyz(26.9827, 14.9854, 96.0590)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145FF #D3FF45
analogous
#4576FF #7145FF #CE45FF
triadic
#7145FF #FF7145 #45FF71
tetradic
#7145FF #FF4576 #D3FF45 #45FFCE
square
#7145FF #FF4576 #D3FF45 #45FFCE
split-complementary
#7145FF #FFCE45 #76FF45
monochromatic
#3000CA #4208FF #7145FF #A082FF #CEBFFF

Accessibility & contrast

On white

5.25
#7145FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7145FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145FF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145FF#FFFFFF#000000##FFFFFF
##7145FF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7145ff;
/* rgb */ color: rgb(113, 69, 255);
/* oklch */ color: oklch(55.9% 0.256 285.5);
Tailwind
colors: {
  custom: {
    50: '#a77dff',
    500: '#7145ff',
    950: '#000000',
  },
}
SCSS
$custom: #7145ff;
$custom-light: #a77dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ff",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 254.194,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.25572,
    "h": 285.5
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#7145FF
secondary
#E1F1AF
accent
#E600AF
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7145FF

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

Preview Lab → · Contrast checker → · Palette generator →

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