#7145D8#7145D8

#7145D8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.212 H 291.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7145D8
RGBrgb(113, 69, 216)
HSLhsl(258, 65%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.7%, 68.1%, 0%, 15.3%)
CIE-LABlab(42.34, 52.36, -68.91)
CIE-LCHlch(42.34, 86.55, 307.23°)
OKLaboklab(52.59% 0.0761 -0.1975)
OKLCHoklch(52.59% 0.212 291.1)
XYZxyz(21.3293, 12.7240, 66.2846)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145D8 #ACD845
analogous
#4562D8 #7145D8 #BA45D8
triadic
#7145D8 #D87145 #45D871
tetradic
#7145D8 #D84562 #ACD845 #45D8BA
square
#7145D8 #D84562 #ACD845 #45D8BA
split-complementary
#7145D8 #D8BA45 #62D845
monochromatic
#3C1C86 #5327B9 #7145D8 #9878E3 #BEAAED

Accessibility & contrast

On white

5.92
#7145D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7145D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145D8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145D8#FFFFFF#000000##FFFFFF
##7145D81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#506A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7145d8;
/* rgb */ color: rgb(113, 69, 216);
/* oklch */ color: oklch(52.6% 0.212 291.1);
Tailwind
colors: {
  custom: {
    50: '#a27ce5',
    500: '#7145d8',
    950: '#000000',
  },
}
SCSS
$custom: #7145d8;
$custom-light: #a27ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7145d8",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 257.959,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.21167,
    "h": 291.1
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#7145D8
secondary
#C9DB9E
accent
#E840B6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145D8

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

Preview Lab → · Contrast checker → · Palette generator →

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