#6145E6#6145E6

#6145E6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.229 H 283.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6145E6
RGBrgb(97, 69, 230)
HSLhsl(250, 76%, 59%)
HSVhsv(250, 70%, 90%)
CMYKcmyk(57.8%, 70%, 0%, 9.8%)
CIE-LABlab(42.01, 53.81, -77.49)
CIE-LCHlch(42.01, 94.35, 304.78°)
OKLaboklab(52.35% 0.0517 -0.2232)
OKLCHoklch(52.35% 0.229 283)
XYZxyz(21.3364, 12.5094, 76.1378)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145E6 #CAE645
analogous
#4579E6 #6145E6 #B145E6
triadic
#6145E6 #E66145 #45E661
tetradic
#6145E6 #E64579 #CAE645 #45E6B1
square
#6145E6 #E64579 #CAE645 #45E6B1
split-complementary
#6145E6 #E6B145 #79E645
monochromatic
#2C159C #3C1CD2 #6145E6 #8F7BED #BDB1F5

Accessibility & contrast

On white

6.00
#6145E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6145E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145E6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145E6#FFFFFF#000000##FFFFFF
##6145E61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#0D7091
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6145e6;
/* rgb */ color: rgb(97, 69, 230);
/* oklch */ color: oklch(52.4% 0.229 283.0);
Tailwind
colors: {
  custom: {
    50: '#9b7bef',
    500: '#6145e6',
    950: '#000000',
  },
}
SCSS
$custom: #6145e6;
$custom-light: #9b7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6145e6",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 250.435,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.22911,
    "h": 283
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#6145E6
secondary
#D8E3A4
accent
#F335D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #6145E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6145E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva