#7145C8#7145C8

#7145C8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.193 H 294.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7145C8
RGBrgb(113, 69, 200)
HSLhsl(260, 54%, 53%)
HSVhsv(260, 66%, 78%)
CMYKcmyk(43.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.12, 48.01, -61.69)
CIE-LCHlch(41.12, 78.17, 307.89°)
OKLaboklab(51.32% 0.0783 -0.1763)
OKLCHoklch(51.32% 0.193 294)
XYZxyz(19.3607, 11.9366, 55.9163)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145C8 #9CC845
analogous
#455AC8 #7145C8 #B345C8
triadic
#7145C8 #C87145 #45C871
tetradic
#7145C8 #C8455A #9CC845 #45C8B3
square
#7145C8 #C8455A #9CC845 #45C8B3
split-complementary
#7145C8 #C8B345 #5AC845
monochromatic
#3C2171 #552FA0 #7145C8 #9574D6 #B9A3E4

Accessibility & contrast

On white

6.20
#7145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7145C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145C8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145C8#FFFFFF#000000##FFFFFF
##7145C81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#596480
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7145c8;
/* rgb */ color: rgb(113, 69, 200);
/* oklch */ color: oklch(51.3% 0.193 294.0);
Tailwind
colors: {
  custom: {
    50: '#a07bda',
    500: '#7145c8',
    950: '#000000',
  },
}
SCSS
$custom: #7145c8;
$custom-light: #a07bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7145c8",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 260.153,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.19291,
    "h": 294
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#7145C8
secondary
#BED198
accent
#DE4AAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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