#6146DB#6146DB

#6146DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.215 H 284.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6146DB
RGBrgb(97, 70, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.7%, 68%, 0%, 14.1%)
CIE-LABlab(41.27, 50.05, -72.44)
CIE-LCHlch(41.27, 88.05, 304.64°)
OKLaboklab(51.53% 0.0528 -0.2084)
OKLCHoklch(51.53% 0.215 284.2)
XYZxyz(19.9022, 12.0350, 68.2784)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146DB #C0DB46
analogous
#4676DB #6146DB #AB46DB
triadic
#6146DB #DB6146 #46DB61
tetradic
#6146DB #DB4676 #C0DB46 #46DBAB
square
#6146DB #DB4676 #C0DB46 #46DBAB
split-complementary
#6146DB #DBAB46 #76DB46
monochromatic
#2F1B8B #4125BF #6146DB #8D79E5 #B9ACEF

Accessibility & contrast

On white

6.16
#6146DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6146DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146DB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146DB#FFFFFF#000000##FFFFFF
##6146DB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#256D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6146db;
/* rgb */ color: rgb(97, 70, 219);
/* oklch */ color: oklch(51.5% 0.215 284.2);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6146db',
    950: '#000000',
  },
}
SCSS
$custom: #6146db;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6146db",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 250.872,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.21498,
    "h": 284.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#6146DB
secondary
#D2DDA0
accent
#EA3DCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6146DB

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

Preview Lab → · Contrast checker → · Palette generator →

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