#6147E2#6147E2

#6147E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.222 H 283.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6147E2
RGBrgb(97, 71, 226)
HSLhsl(250, 73%, 58%)
HSVhsv(250, 69%, 89%)
CMYKcmyk(57.1%, 68.6%, 0%, 11.4%)
CIE-LABlab(42.06, 51.57, -75.15)
CIE-LCHlch(42.06, 91.14, 304.46°)
OKLaboklab(52.28% 0.0509 -0.2163)
OKLCHoklch(52.28% 0.222 283.2)
XYZxyz(20.9062, 12.5375, 73.2551)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E2 #C8E247
analogous
#477AE2 #6147E2 #AF47E2
triadic
#6147E2 #E26147 #47E261
tetradic
#6147E2 #E2477A #C8E247 #47E2AF
square
#6147E2 #E2477A #C8E247 #47E2AF
split-complementary
#6147E2 #E2AF47 #7AE247
monochromatic
#2D1897 #3D20CC #6147E2 #8E7CEA #BCB1F3

Accessibility & contrast

On white

5.99
#6147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6147E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E2#FFFFFF#000000##FFFFFF
##6147E21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#18708F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6147e2;
/* rgb */ color: rgb(97, 71, 226);
/* oklch */ color: oklch(52.3% 0.222 283.2);
Tailwind
colors: {
  custom: {
    50: '#9a7cec',
    500: '#6147e2',
    950: '#000000',
  },
}
SCSS
$custom: #6147e2;
$custom-light: #9a7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e2",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 250.065,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.22224,
    "h": 283.2
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#6147E2
secondary
#D7E1A4
accent
#EF38D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147E2

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

Preview Lab → · Contrast checker → · Palette generator →

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