#6145C8#6145C8

#6145C8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.193 H 287.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6145C8
RGBrgb(97, 69, 200)
HSLhsl(253, 54%, 53%)
HSVhsv(253, 66%, 78%)
CMYKcmyk(51.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(39.52, 45.01, -64.34)
CIE-LCHlch(39.52, 78.52, 304.97°)
OKLaboklab(49.8% 0.0564 -0.1846)
OKLCHoklch(49.8% 0.193 287)
XYZxyz(17.4801, 10.9669, 55.8281)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145C8 #ACC845
analogous
#456BC8 #6145C8 #A245C8
triadic
#6145C8 #C86145 #45C861
tetradic
#6145C8 #C8456B #ACC845 #45C8A2
square
#6145C8 #C8456B #ACC845 #45C8A2
split-complementary
#6145C8 #C8A245 #6BC845
monochromatic
#322171 #482FA0 #6145C8 #8974D6 #B1A3E4

Accessibility & contrast

On white

6.58
#6145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6145C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145C8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145C8#FFFFFF#000000##FFFFFF
##6145C81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#3A6580
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6145c8;
/* rgb */ color: rgb(97, 69, 200);
/* oklch */ color: oklch(49.8% 0.193 287.0);
Tailwind
colors: {
  custom: {
    50: '#977ada',
    500: '#6145c8',
    950: '#000000',
  },
}
SCSS
$custom: #6145c8;
$custom-light: #977ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6145c8",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 252.824,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.19303,
    "h": 287
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#6145C8
secondary
#C5D198
accent
#DE4ABE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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