#6147DB#6147DB

#6147DB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.214 H 284.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6147DB
RGBrgb(97, 71, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.7%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.47, 49.50, -72.12)
CIE-LCHlch(41.47, 87.47, 304.47°)
OKLaboklab(51.68% 0.052 -0.2074)
OKLCHoklch(51.68% 0.214 284.1)
XYZxyz(19.9653, 12.1611, 68.2994)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147DB #C1DB47
analogous
#4777DB #6147DB #AB47DB
triadic
#6147DB #DB6147 #47DB61
tetradic
#6147DB #DB4777 #C1DB47 #47DBAB
square
#6147DB #DB4777 #C1DB47 #47DBAB
split-complementary
#6147DB #DBAB47 #77DB47
monochromatic
#2F1B8C #4025BF #6147DB #8D7AE5 #B9ADEF

Accessibility & contrast

On white

6.12
#6147DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6147DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147DB#FFFFFF#000000##FFFFFF
##6147DB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6147db;
/* rgb */ color: rgb(97, 71, 219);
/* oklch */ color: oklch(51.7% 0.214 284.1);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6147db',
    950: '#000000',
  },
}
SCSS
$custom: #6147db;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6147db",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 250.541,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.21385,
    "h": 284.1
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#6147DB
secondary
#D2DDA1
accent
#EA3ECC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147DB

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

Preview Lab → · Contrast checker → · Palette generator →

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