#6145C2#6145C2

#6145C2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.186 H 287.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6145C2
RGBrgb(97, 69, 194)
HSLhsl(253, 51%, 52%)
HSVhsv(253, 64%, 76%)
CMYKcmyk(50%, 64.4%, 0%, 23.9%)
CIE-LABlab(39.06, 43.25, -61.61)
CIE-LCHlch(39.06, 75.28, 305.07°)
OKLaboklab(49.31% 0.057 -0.1766)
OKLCHoklch(49.31% 0.186 287.9)
XYZxyz(16.7927, 10.6919, 52.2074)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145C2 #A6C245
analogous
#4568C2 #6145C2 #A045C2
triadic
#6145C2 #C26145 #45C261
tetradic
#6145C2 #C24568 #A6C245 #45C2A0
square
#6145C2 #C24568 #A6C245 #45C2A0
split-complementary
#6145C2 #C2A045 #68C245
monochromatic
#33236A #493298 #6145C2 #8873D1 #AFA1E0

Accessibility & contrast

On white

6.69
#6145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6145C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145C2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145C2#FFFFFF#000000##FFFFFF
##6145C21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#3F637D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6145c2;
/* rgb */ color: rgb(97, 69, 194);
/* oklch */ color: oklch(49.3% 0.186 287.9);
Tailwind
colors: {
  custom: {
    50: '#967ad5',
    500: '#6145c2',
    950: '#000000',
  },
}
SCSS
$custom: #6145c2;
$custom-light: #967ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#6145c2",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 253.44,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.18558,
    "h": 287.9
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#6145C2
secondary
#C1CD96
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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