#6145D5#6145D5

#6145D5 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.209 H 285.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6145D5
RGBrgb(97, 69, 213)
HSLhsl(252, 63%, 55%)
HSVhsv(252, 68%, 84%)
CMYKcmyk(54.5%, 67.6%, 0%, 16.5%)
CIE-LABlab(40.57, 48.83, -70.14)
CIE-LCHlch(40.57, 85.47, 304.84°)
OKLaboklab(50.88% 0.0546 -0.2016)
OKLCHoklch(50.88% 0.209 285.1)
XYZxyz(19.0645, 11.6007, 64.1725)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145D5 #B9D545
analogous
#4571D5 #6145D5 #A945D5
triadic
#6145D5 #D56145 #45D561
tetradic
#6145D5 #D54571 #B9D545 #45D5A9
square
#6145D5 #D54571 #B9D545 #45D5A9
split-complementary
#6145D5 #D5A945 #71D545
monochromatic
#311D82 #4429B4 #6145D5 #8B77E0 #B6A9EC

Accessibility & contrast

On white

6.32
#6145D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6145D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145D5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145D5#FFFFFF#000000##FFFFFF
##6145D51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#2D6A87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6145d5;
/* rgb */ color: rgb(97, 69, 213);
/* oklch */ color: oklch(50.9% 0.209 285.1);
Tailwind
colors: {
  custom: {
    50: '#997be3',
    500: '#6145d5',
    950: '#000000',
  },
}
SCSS
$custom: #6145d5;
$custom-light: #997be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6145d5",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 251.667,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.20891,
    "h": 285.1
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#6145D5
secondary
#CDD99D
accent
#E642C6
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6145D5

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

Preview Lab → · Contrast checker → · Palette generator →

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