#7145CE#7145CE

#7145CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.200 H 292.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7145CE
RGBrgb(113, 69, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 67%, 81%)
CMYKcmyk(45.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(41.57, 49.63, -64.42)
CIE-LCHlch(41.57, 81.33, 307.61°)
OKLaboklab(51.79% 0.0776 -0.1843)
OKLCHoklch(51.79% 0.2 292.8)
XYZxyz(20.0757, 12.2226, 59.6820)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CE #A2CE45
analogous
#455ECE #7145CE #B645CE
triadic
#7145CE #CE7145 #45CE71
tetradic
#7145CE #CE455E #A2CE45 #45CEB6
square
#7145CE #CE455E #A2CE45 #45CEB6
split-complementary
#7145CE #CEB645 #5ECE45
monochromatic
#3C2079 #552DA9 #7145CE #9675DB #BBA6E8

Accessibility & contrast

On white

6.10
#7145CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7145CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CE#FFFFFF#000000##FFFFFF
##7145CE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#566684
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7145ce;
/* rgb */ color: rgb(113, 69, 206);
/* oklch */ color: oklch(51.8% 0.200 292.8);
Tailwind
colors: {
  custom: {
    50: '#a17bde',
    500: '#7145ce',
    950: '#000000',
  },
}
SCSS
$custom: #7145ce;
$custom-light: #a17bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ce",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 259.27,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.19999,
    "h": 292.8
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#7145CE
secondary
#C2D59A
accent
#E246B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145CE

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

Preview Lab → · Contrast checker → · Palette generator →

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