#6145CA#6145CA

#6145CA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.196 H 286.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6145CA
RGBrgb(97, 69, 202)
HSLhsl(253, 56%, 53%)
HSVhsv(253, 66%, 79%)
CMYKcmyk(52%, 65.8%, 0%, 20.8%)
CIE-LABlab(39.68, 45.60, -65.25)
CIE-LCHlch(39.68, 79.60, 304.95°)
OKLaboklab(49.96% 0.0561 -0.1873)
OKLCHoklch(49.96% 0.196 286.7)
XYZxyz(17.7154, 11.0610, 57.0672)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145CA #AECA45
analogous
#456BCA #6145CA #A445CA
triadic
#6145CA #CA6145 #45CA61
tetradic
#6145CA #CA456B #AECA45 #45CAA4
square
#6145CA #CA456B #AECA45 #45CAA4
split-complementary
#6145CA #CAA445 #6BCA45
monochromatic
#322174 #472FA3 #6145CA #8975D8 #B2A4E5

Accessibility & contrast

On white

6.54
#6145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6145CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145CA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145CA#FFFFFF#000000##FFFFFF
##6145CA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#386681
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6145ca;
/* rgb */ color: rgb(97, 69, 202);
/* oklch */ color: oklch(50.0% 0.196 286.7);
Tailwind
colors: {
  custom: {
    50: '#977adb',
    500: '#6145ca',
    950: '#000000',
  },
}
SCSS
$custom: #6145ca;
$custom-light: #977adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6145ca",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 252.632,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.1955,
    "h": 286.7
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#6145CA
secondary
#C6D299
accent
#DF49BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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