#7145DA#7145DA

#7145DA is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.214 H 290.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7145DA
RGBrgb(113, 69, 218)
HSLhsl(258, 67%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(48.2%, 68.3%, 0%, 14.5%)
CIE-LABlab(42.50, 52.91, -69.80)
CIE-LCHlch(42.50, 87.58, 307.16°)
OKLaboklab(52.75% 0.0758 -0.2001)
OKLCHoklch(52.75% 0.214 290.7)
XYZxyz(21.5895, 12.8281, 67.6546)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DA #AEDA45
analogous
#4564DA #7145DA #BC45DA
triadic
#7145DA #DA7145 #45DA71
tetradic
#7145DA #DA4564 #AEDA45 #45DABC
square
#7145DA #DA4564 #AEDA45 #45DABC
split-complementary
#7145DA #DABC45 #64DA45
monochromatic
#3C1B89 #5225BC #7145DA #9878E4 #BFABEE

Accessibility & contrast

On white

5.89
#7145DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7145DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DA#FFFFFF#000000##FFFFFF
##7145DA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#4F6B8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7145da;
/* rgb */ color: rgb(113, 69, 218);
/* oklch */ color: oklch(52.7% 0.214 290.7);
Tailwind
colors: {
  custom: {
    50: '#a27ce7',
    500: '#7145da',
    950: '#000000',
  },
}
SCSS
$custom: #7145da;
$custom-light: #a27ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7145da",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 257.718,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.21398,
    "h": 290.7
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#7145DA
secondary
#CADC9F
accent
#EA3EB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DA

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

Preview Lab → · Contrast checker → · Palette generator →

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