#7145D2#7145D2

#7145D2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.205 H 292.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7145D2
RGBrgb(113, 69, 210)
HSLhsl(259, 61%, 55%)
HSVhsv(259, 67%, 82%)
CMYKcmyk(46.2%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.88, 50.72, -66.23)
CIE-LCHlch(41.88, 83.42, 307.45°)
OKLaboklab(52.1% 0.077 -0.1896)
OKLCHoklch(52.1% 0.205 292.1)
XYZxyz(20.5678, 12.4194, 62.2738)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145D2 #A6D245
analogous
#4560D2 #7145D2 #B745D2
triadic
#7145D2 #D27145 #45D271
tetradic
#7145D2 #D24560 #A6D245 #45D2B7
square
#7145D2 #D24560 #A6D245 #45D2B7
split-complementary
#7145D2 #D2B745 #60D245
monochromatic
#3C1F7E #542AAF #7145D2 #9776DE #BCA8EA

Accessibility & contrast

On white

6.03
#7145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145D2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145D2#FFFFFF#000000##FFFFFF
##7145D21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7145d2;
/* rgb */ color: rgb(113, 69, 210);
/* oklch */ color: oklch(52.1% 0.205 292.1);
Tailwind
colors: {
  custom: {
    50: '#a27ce1',
    500: '#7145d2',
    950: '#000000',
  },
}
SCSS
$custom: #7145d2;
$custom-light: #a27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7145d2",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 258.723,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.20468,
    "h": 292.1
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#7145D2
secondary
#C5D79C
accent
#E444B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145D2

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

Preview Lab → · Contrast checker → · Palette generator →

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