#6147E1#6147E1

#6147E1 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.221 H 283.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6147E1
RGBrgb(97, 71, 225)
HSLhsl(250, 72%, 58%)
HSVhsv(250, 68%, 88%)
CMYKcmyk(56.9%, 68.4%, 0%, 11.8%)
CIE-LABlab(41.97, 51.28, -74.72)
CIE-LCHlch(41.97, 90.62, 304.46°)
OKLaboklab(52.19% 0.051 -0.2151)
OKLCHoklch(52.19% 0.221 283.3)
XYZxyz(20.7694, 12.4828, 72.5346)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E1 #C7E147
analogous
#477AE1 #6147E1 #AE47E1
triadic
#6147E1 #E16147 #47E161
tetradic
#6147E1 #E1477A #C7E147 #47E1AE
square
#6147E1 #E1477A #C7E147 #47E1AE
split-complementary
#6147E1 #E1AE47 #7AE147
monochromatic
#2D1895 #3D21CA #6147E1 #8E7CEA #BBB0F2

Accessibility & contrast

On white

6.01
#6147E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6147E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E1#FFFFFF#000000##FFFFFF
##6147E11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#1A6F8F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6147e1;
/* rgb */ color: rgb(97, 71, 225);
/* oklch */ color: oklch(52.2% 0.221 283.3);
Tailwind
colors: {
  custom: {
    50: '#9a7cec',
    500: '#6147e1',
    950: '#000000',
  },
}
SCSS
$custom: #6147e1;
$custom-light: #9a7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e1",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 250.13,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.22104,
    "h": 283.3
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#6147E1
secondary
#D6E1A3
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147E1

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

Preview Lab → · Contrast checker → · Palette generator →

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