#6145BC#6145BC

#6145BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.178 H 288.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6145BC
RGBrgb(97, 69, 188)
HSLhsl(254, 47%, 50%)
HSVhsv(254, 63%, 74%)
CMYKcmyk(48.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(38.60, 41.49, -58.85)
CIE-LCHlch(38.60, 72.00, 305.19°)
OKLaboklab(48.84% 0.0576 -0.1685)
OKLCHoklch(48.84% 0.178 288.9)
XYZxyz(16.1324, 10.4278, 48.7299)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145BC #A0BC45
analogous
#4564BC #6145BC #9D45BC
triadic
#6145BC #BC6145 #45BC61
tetradic
#6145BC #BC4564 #A0BC45 #45BC9D
square
#6145BC #BC4564 #A0BC45 #45BC9D
split-complementary
#6145BC #BC9D45 #64BC45
monochromatic
#332463 #4A3490 #6145BC #8772CC #AD9FDC

Accessibility & contrast

On white

6.81
#6145BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6145BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145BC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145BC#FFFFFF#000000##FFFFFF
##6145BC1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#43617A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6145bc;
/* rgb */ color: rgb(97, 69, 188);
/* oklch */ color: oklch(48.8% 0.178 288.9);
Tailwind
colors: {
  custom: {
    50: '#957ad1',
    500: '#6145bc',
    950: '#000000',
  },
}
SCSS
$custom: #6145bc;
$custom-light: #957ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6145bc",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 254.118,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.17804,
    "h": 288.9
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#6145BC
secondary
#BCC994
accent
#D751B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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