#6147AF#6147AF

#6147AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.159 H 290.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6147AF
RGBrgb(97, 71, 175)
HSLhsl(255, 42%, 48%)
HSVhsv(255, 59%, 69%)
CMYKcmyk(44.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(38.10, 36.54, -51.99)
CIE-LCHlch(38.10, 63.55, 305.10°)
OKLaboklab(48.17% 0.0562 -0.1483)
OKLCHoklch(48.17% 0.159 290.7)
XYZxyz(14.9187, 10.1425, 41.7208)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147AF #95AF47
analogous
#4761AF #6147AF #9547AF
triadic
#6147AF #AF6147 #47AF61
tetradic
#6147AF #AF4761 #95AF47 #47AF95
square
#6147AF #AF4761 #95AF47 #47AF95
split-complementary
#6147AF #AF9547 #61AF47
monochromatic
#312458 #493583 #6147AF #846FC4 #A99AD6

Accessibility & contrast

On white

6.93
#6147AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6147AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147AF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147AF#FFFFFF#000000##FFFFFF
##6147AF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0157AD
Tritanopia (blue-blind)
#4A5E74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6147af;
/* rgb */ color: rgb(97, 71, 175);
/* oklch */ color: oklch(48.2% 0.159 290.7);
Tailwind
colors: {
  custom: {
    50: '#937bc8',
    500: '#6147af',
    950: '#000000',
  },
}
SCSS
$custom: #6147af;
$custom-light: #937bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6147af",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 255,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.15858,
    "h": 290.7
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#6147AF
secondary
#B6C28F
accent
#D256B3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6147AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6147AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva