#6147DA#6147DA

#6147DA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.213 H 284.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6147DA
RGBrgb(97, 71, 218)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(55.5%, 67.4%, 0%, 14.5%)
CIE-LABlab(41.39, 49.21, -71.68)
CIE-LCHlch(41.39, 86.94, 304.47°)
OKLaboklab(51.59% 0.0521 -0.2062)
OKLCHoklch(51.59% 0.213 284.2)
XYZxyz(19.8340, 12.1086, 67.6081)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147DA #C0DA47
analogous
#4777DA #6147DA #AB47DA
triadic
#6147DA #DA6147 #47DA61
tetradic
#6147DA #DA4777 #C0DA47 #47DAAB
square
#6147DA #DA4777 #C0DA47 #47DAAB
split-complementary
#6147DA #DAAB47 #77DA47
monochromatic
#2F1C8B #4126BE #6147DA #8D7AE4 #B9ADEE

Accessibility & contrast

On white

6.14
#6147DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6147DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147DA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147DA#FFFFFF#000000##FFFFFF
##6147DA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#276D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6147da;
/* rgb */ color: rgb(97, 71, 218);
/* oklch */ color: oklch(51.6% 0.213 284.2);
Tailwind
colors: {
  custom: {
    50: '#997ce7',
    500: '#6147da',
    950: '#000000',
  },
}
SCSS
$custom: #6147da;
$custom-light: #997ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6147da",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 250.612,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.21264,
    "h": 284.2
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#6147DA
secondary
#D2DCA0
accent
#E93ECB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147DA

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

Preview Lab → · Contrast checker → · Palette generator →

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