#6146E7#6146E7

#6146E7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.229 H 282.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6146E7
RGBrgb(97, 70, 231)
HSLhsl(250, 77%, 59%)
HSVhsv(250, 70%, 91%)
CMYKcmyk(58%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.29, 53.58, -77.61)
CIE-LCHlch(42.29, 94.30, 304.62°)
OKLaboklab(52.58% 0.0508 -0.2235)
OKLCHoklch(52.58% 0.229 282.8)
XYZxyz(21.5393, 12.6898, 76.9002)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146E7 #CCE746
analogous
#467CE7 #6146E7 #B246E7
triadic
#6146E7 #E76146 #46E761
tetradic
#6146E7 #E7467C #CCE746 #46E7B2
square
#6146E7 #E7467C #CCE746 #46E7B2
split-complementary
#6146E7 #E7B246 #7CE746
monochromatic
#2C159E #3B1CD4 #6146E7 #8F7CEE #BEB2F5

Accessibility & contrast

On white

5.94
#6146E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6146E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146E7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146E7#FFFFFF#000000##FFFFFF
##6146E71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#087192
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6146e7;
/* rgb */ color: rgb(97, 70, 231);
/* oklch */ color: oklch(52.6% 0.229 282.8);
Tailwind
colors: {
  custom: {
    50: '#9b7cf0',
    500: '#6146e7',
    950: '#000000',
  },
}
SCSS
$custom: #6146e7;
$custom-light: #9b7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6146e7",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 250.062,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.22922,
    "h": 282.8
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#6146E7
secondary
#D9E4A5
accent
#F434D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6146E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6146E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva