#7145D3#7145D3

#7145D3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.206 H 291.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7145D3
RGBrgb(113, 69, 211)
HSLhsl(259, 62%, 55%)
HSVhsv(259, 67%, 83%)
CMYKcmyk(46.4%, 67.3%, 0%, 17.3%)
CIE-LABlab(41.95, 50.99, -66.68)
CIE-LCHlch(41.95, 83.94, 307.41°)
OKLaboklab(52.18% 0.0769 -0.191)
OKLCHoklch(52.18% 0.206 291.9)
XYZxyz(20.6928, 12.4694, 62.9319)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145D3 #A7D345
analogous
#4560D3 #7145D3 #B845D3
triadic
#7145D3 #D37145 #45D371
tetradic
#7145D3 #D34560 #A7D345 #45D3B8
square
#7145D3 #D34560 #A7D345 #45D3B8
split-complementary
#7145D3 #D3B845 #60D345
monochromatic
#3C1E7F #542AB1 #7145D3 #9776DF #BDA8EA

Accessibility & contrast

On white

6.01
#7145D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7145D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145D3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145D3#FFFFFF#000000##FFFFFF
##7145D31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#536886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7145d3;
/* rgb */ color: rgb(113, 69, 211);
/* oklch */ color: oklch(52.2% 0.206 291.9);
Tailwind
colors: {
  custom: {
    50: '#a27ce1',
    500: '#7145d3',
    950: '#000000',
  },
}
SCSS
$custom: #7145d3;
$custom-light: #a27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7145d3",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 258.592,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.20585,
    "h": 291.9
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#7145D3
secondary
#C5D89C
accent
#E543B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145D3

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

Preview Lab → · Contrast checker → · Palette generator →

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