#6145D2#6145D2

#6145D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.6% C 0.205 H 285.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6145D2
RGBrgb(97, 69, 210)
HSLhsl(252, 61%, 55%)
HSVhsv(252, 67%, 82%)
CMYKcmyk(53.8%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.33, 47.95, -68.82)
CIE-LCHlch(40.33, 83.88, 304.87°)
OKLaboklab(50.62% 0.055 -0.1978)
OKLCHoklch(50.62% 0.205 285.6)
XYZxyz(18.6872, 11.4497, 62.1856)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145D2 #B6D245
analogous
#4570D2 #6145D2 #A845D2
triadic
#6145D2 #D26145 #45D261
tetradic
#6145D2 #D24570 #B6D245 #45D2A8
square
#6145D2 #D24570 #B6D245 #45D2A8
split-complementary
#6145D2 #D2A845 #70D245
monochromatic
#311F7E #452AAF #6145D2 #8B76DE #B5A8EA

Accessibility & contrast

On white

6.38
#6145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145D2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145D2#FFFFFF#000000##FFFFFF
##6145D21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#316986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6145d2;
/* rgb */ color: rgb(97, 69, 210);
/* oklch */ color: oklch(50.6% 0.205 285.6);
Tailwind
colors: {
  custom: {
    50: '#987be1',
    500: '#6145d2',
    950: '#000000',
  },
}
SCSS
$custom: #6145d2;
$custom-light: #987be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6145d2",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 251.915,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.20527,
    "h": 285.6
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#6145D2
secondary
#CBD79C
accent
#E444C4
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6145D2

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

Preview Lab → · Contrast checker → · Palette generator →

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