#6145D4#6145D4

#6145D4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.8% C 0.208 H 285.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6145D4
RGBrgb(97, 69, 212)
HSLhsl(252, 62%, 55%)
HSVhsv(252, 67%, 83%)
CMYKcmyk(54.2%, 67.5%, 0%, 16.9%)
CIE-LABlab(40.49, 48.54, -69.70)
CIE-LCHlch(40.49, 84.94, 304.85°)
OKLaboklab(50.79% 0.0547 -0.2004)
OKLCHoklch(50.79% 0.208 285.3)
XYZxyz(18.9380, 11.5500, 63.5061)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145D4 #B8D445
analogous
#4571D4 #6145D4 #A845D4
triadic
#6145D4 #D46145 #45D461
tetradic
#6145D4 #D44571 #B8D445 #45D4A8
square
#6145D4 #D44571 #B8D445 #45D4A8
split-complementary
#6145D4 #D4A845 #71D445
monochromatic
#311E81 #4429B3 #6145D4 #8B77DF #B5A8EB

Accessibility & contrast

On white

6.34
#6145D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6145D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145D4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145D4#FFFFFF#000000##FFFFFF
##6145D41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#2E6A87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6145d4;
/* rgb */ color: rgb(97, 69, 212);
/* oklch */ color: oklch(50.8% 0.208 285.3);
Tailwind
colors: {
  custom: {
    50: '#997be2',
    500: '#6145d4',
    950: '#000000',
  },
}
SCSS
$custom: #6145d4;
$custom-light: #997be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6145d4",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 251.748,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.2077,
    "h": 285.3
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6145D4

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

Preview Lab → · Contrast checker → · Palette generator →

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