#7145DB#7145DB

#7145DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.215 H 290.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7145DB
RGBrgb(113, 69, 219)
HSLhsl(258, 68%, 56%)
HSVhsv(258, 68%, 86%)
CMYKcmyk(48.4%, 68.5%, 0%, 14.1%)
CIE-LABlab(42.58, 53.18, -70.24)
CIE-LCHlch(42.58, 88.10, 307.13°)
OKLaboklab(52.83% 0.0756 -0.2014)
OKLCHoklch(52.83% 0.215 290.6)
XYZxyz(21.7207, 12.8806, 68.3458)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DB #AFDB45
analogous
#4564DB #7145DB #BC45DB
triadic
#7145DB #DB7145 #45DB71
tetradic
#7145DB #DB4564 #AFDB45 #45DBBC
square
#7145DB #DB4564 #AFDB45 #45DBBC
split-complementary
#7145DB #DBBC45 #64DB45
monochromatic
#3C1B8B #5225BE #7145DB #9878E5 #BFACEF

Accessibility & contrast

On white

5.87
#7145DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7145DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DB#FFFFFF#000000##FFFFFF
##7145DB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#4E6B8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7145db;
/* rgb */ color: rgb(113, 69, 219);
/* oklch */ color: oklch(52.8% 0.215 290.6);
Tailwind
colors: {
  custom: {
    50: '#a37ce7',
    500: '#7145db',
    950: '#000000',
  },
}
SCSS
$custom: #7145db;
$custom-light: #a37ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7145db",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 257.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.21514,
    "h": 290.6
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#7145DB
secondary
#CBDD9F
accent
#EA3DB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DB

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

Preview Lab → · Contrast checker → · Palette generator →

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