#6147DC#6147DC

#6147DC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.215 H 283.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6147DC
RGBrgb(97, 71, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(55.9%, 67.7%, 0%, 13.7%)
CIE-LABlab(41.55, 49.80, -72.55)
CIE-LCHlch(41.55, 88.00, 304.46°)
OKLaboklab(51.76% 0.0518 -0.2087)
OKLCHoklch(51.76% 0.215 283.9)
XYZxyz(20.0973, 12.2140, 68.9948)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147DC #C2DC47
analogous
#4777DC #6147DC #AC47DC
triadic
#6147DC #DC6147 #47DC61
tetradic
#6147DC #DC4777 #C2DC47 #47DCAC
square
#6147DC #DC4777 #C2DC47 #47DCAC
split-complementary
#6147DC #DCAC47 #77DC47
monochromatic
#2F1B8E #4025C1 #6147DC #8D7AE6 #B9AEF0

Accessibility & contrast

On white

6.10
#6147DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6147DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147DC#FFFFFF#000000##FFFFFF
##6147DC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#246E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6147dc;
/* rgb */ color: rgb(97, 71, 220);
/* oklch */ color: oklch(51.8% 0.215 283.9);
Tailwind
colors: {
  custom: {
    50: '#9a7ce8',
    500: '#6147dc',
    950: '#000000',
  },
}
SCSS
$custom: #6147dc;
$custom-light: #9a7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6147dc",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 250.47,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.21505,
    "h": 283.9
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#6147DC
secondary
#D3DEA1
accent
#EB3DCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147DC

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

Preview Lab → · Contrast checker → · Palette generator →

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