#6145BE#6145BE

#6145BE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.181 H 288.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6145BE
RGBrgb(97, 69, 190)
HSLhsl(254, 48%, 51%)
HSVhsv(254, 64%, 75%)
CMYKcmyk(48.9%, 63.7%, 0%, 25.5%)
CIE-LABlab(38.75, 42.08, -59.77)
CIE-LCHlch(38.75, 73.10, 305.15°)
OKLaboklab(48.99% 0.0574 -0.1712)
OKLCHoklch(48.99% 0.181 288.5)
XYZxyz(16.3495, 10.5146, 49.8733)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145BE #A2BE45
analogous
#4565BE #6145BE #9D45BE
triadic
#6145BE #BE6145 #45BE61
tetradic
#6145BE #BE4565 #A2BE45 #45BE9D
square
#6145BE #BE4565 #A2BE45 #45BE9D
split-complementary
#6145BE #BE9D45 #65BE45
monochromatic
#332365 #493393 #6145BE #8872CE #AEA0DE

Accessibility & contrast

On white

6.77
#6145BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6145BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145BE#FFFFFF#000000##FFFFFF
##6145BE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#41627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6145be;
/* rgb */ color: rgb(97, 69, 190);
/* oklch */ color: oklch(49.0% 0.181 288.5);
Tailwind
colors: {
  custom: {
    50: '#957ad2',
    500: '#6145be',
    950: '#000000',
  },
}
SCSS
$custom: #6145be;
$custom-light: #957ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6145be",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 253.884,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48993,
    "c": 0.18056,
    "h": 288.5
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#6145BE
secondary
#BECA95
accent
#D850B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6145BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6145BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva