#6146D5#6146D5

#6146D5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.0% C 0.208 H 285.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6146D5
RGBrgb(97, 70, 213)
HSLhsl(251, 63%, 55%)
HSVhsv(251, 67%, 84%)
CMYKcmyk(54.5%, 67.1%, 0%, 16.5%)
CIE-LABlab(40.78, 48.28, -69.81)
CIE-LCHlch(40.78, 84.88, 304.67°)
OKLaboklab(51.02% 0.0537 -0.2007)
OKLCHoklch(51.02% 0.208 285)
XYZxyz(19.1265, 11.7247, 64.1931)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146D5 #BAD546
analogous
#4672D5 #6146D5 #A946D5
triadic
#6146D5 #D56146 #46D561
tetradic
#6146D5 #D54672 #BAD546 #46D5A9
square
#6146D5 #D54672 #BAD546 #46D5A9
split-complementary
#6146D5 #D5A946 #72D546
monochromatic
#311E83 #4329B5 #6146D5 #8C78E0 #B6AAEC

Accessibility & contrast

On white

6.28
#6146D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6146D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146D5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146D5#FFFFFF#000000##FFFFFF
##6146D51.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#2D6B88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6146d5;
/* rgb */ color: rgb(97, 70, 213);
/* oklch */ color: oklch(51.0% 0.208 285.0);
Tailwind
colors: {
  custom: {
    50: '#997be3',
    500: '#6146d5',
    950: '#000000',
  },
}
SCSS
$custom: #6146d5;
$custom-light: #997be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6146d5",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 251.329,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.20775,
    "h": 285
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#6146D5
secondary
#CED99E
accent
#E642C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6146D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6146D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva