#8145D7#8145D7

#8145D7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.211 H 297.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8145D7
RGBrgb(129, 69, 215)
HSLhsl(265, 65%, 56%)
HSVhsv(265, 68%, 84%)
CMYKcmyk(40%, 67.9%, 0%, 15.7%)
CIE-LABlab(43.99, 55.00, -65.59)
CIE-LCHlch(43.99, 85.60, 309.98°)
OKLaboklab(54.13% 0.0983 -0.1872)
OKLCHoklch(54.13% 0.211 297.7)
XYZxyz(23.4440, 13.8293, 65.7110)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145D7 #9BD745
analogous
#4552D7 #8145D7 #CA45D7
triadic
#8145D7 #D78145 #45D781
tetradic
#8145D7 #D74552 #9BD745 #45D7CA
square
#8145D7 #D74552 #9BD745 #45D7CA
split-complementary
#8145D7 #D7CA45 #52D745
monochromatic
#481D85 #6327B7 #8145D7 #A377E2 #C5AAED

Accessibility & contrast

On white

5.58
#8145D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8145D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145D7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145D7#FFFFFF#000000##FFFFFF
##8145D71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#6C6889
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8145d7;
/* rgb */ color: rgb(129, 69, 215);
/* oklch */ color: oklch(54.1% 0.211 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac7de4',
    500: '#8145d7',
    950: '#000000',
  },
}
SCSS
$custom: #8145d7;
$custom-light: #ac7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8145d7",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 264.658,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.21148,
    "h": 297.7
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#8145D7
secondary
#C1DA9E
accent
#E840A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8145D7

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

Preview Lab → · Contrast checker → · Palette generator →

#8145D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva