#7145D6#7145D6

#7145D6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.209 H 291.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7145D6
RGBrgb(113, 69, 214)
HSLhsl(258, 64%, 55%)
HSVhsv(258, 68%, 84%)
CMYKcmyk(47.2%, 67.8%, 0%, 16.1%)
CIE-LABlab(42.19, 51.81, -68.02)
CIE-LCHlch(42.19, 85.51, 307.30°)
OKLaboklab(52.42% 0.0764 -0.1949)
OKLCHoklch(52.42% 0.209 291.4)
XYZxyz(21.0724, 12.6212, 64.9311)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145D6 #AAD645
analogous
#4561D6 #7145D6 #BA45D6
triadic
#7145D6 #D67145 #45D671
tetradic
#7145D6 #D64561 #AAD645 #45D6BA
square
#7145D6 #D64561 #AAD645 #45D6BA
split-complementary
#7145D6 #D6BA45 #61D645
monochromatic
#3C1D84 #5328B6 #7145D6 #9777E1 #BEA9EC

Accessibility & contrast

On white

5.96
#7145D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7145D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145D6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145D6#FFFFFF#000000##FFFFFF
##7145D61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#516988
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7145d6;
/* rgb */ color: rgb(113, 69, 214);
/* oklch */ color: oklch(52.4% 0.209 291.4);
Tailwind
colors: {
  custom: {
    50: '#a27ce4',
    500: '#7145d6',
    950: '#000000',
  },
}
SCSS
$custom: #7145d6;
$custom-light: #a27ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#7145d6",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 258.207,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.20934,
    "h": 291.4
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#7145D6
secondary
#C7DA9D
accent
#E741B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145D6

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

Preview Lab → · Contrast checker → · Palette generator →

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