#6145B9#6145B9

#6145B9 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.174 H 289.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6145B9
RGBrgb(97, 69, 185)
HSLhsl(254, 46%, 50%)
HSVhsv(254, 63%, 73%)
CMYKcmyk(47.6%, 62.7%, 0%, 27.5%)
CIE-LABlab(38.38, 40.62, -57.45)
CIE-LCHlch(38.38, 70.36, 305.26°)
OKLaboklab(48.6% 0.0579 -0.1643)
OKLCHoklch(48.6% 0.174 289.4)
XYZxyz(15.8123, 10.2998, 47.0444)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145B9 #9DB945
analogous
#4563B9 #6145B9 #9B45B9
triadic
#6145B9 #B96145 #45B961
tetradic
#6145B9 #B94563 #9DB945 #45B99B
square
#6145B9 #B94563 #9DB945 #45B99B
split-complementary
#6145B9 #B99B45 #63B945
monochromatic
#322460 #4A348C #6145B9 #8771CA #AC9EDB

Accessibility & contrast

On white

6.86
#6145B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6145B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145B9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145B9#FFFFFF#000000##FFFFFF
##6145B91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#456078
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6145b9;
/* rgb */ color: rgb(97, 69, 185);
/* oklch */ color: oklch(48.6% 0.174 289.4);
Tailwind
colors: {
  custom: {
    50: '#957acf',
    500: '#6145b9',
    950: '#000000',
  },
}
SCSS
$custom: #6145b9;
$custom-light: #957acf;
$custom-dark: #000000;
JSON
{
  "hex": "#6145b9",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 254.483,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.17424,
    "h": 289.4
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#6145B9
secondary
#BAC793
accent
#D552B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6145B9

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

Preview Lab → · Contrast checker → · Palette generator →

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