#6145CD#6145CD

#6145CD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.199 H 286.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6145CD
RGBrgb(97, 69, 205)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 66%, 80%)
CMYKcmyk(52.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(39.92, 46.48, -66.59)
CIE-LCHlch(39.92, 81.21, 304.91°)
OKLaboklab(50.21% 0.0557 -0.1912)
OKLCHoklch(50.21% 0.199 286.2)
XYZxyz(18.0740, 11.2045, 58.9561)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145CD #B1CD45
analogous
#456DCD #6145CD #A545CD
triadic
#6145CD #CD6145 #45CD61
tetradic
#6145CD #CD456D #B1CD45 #45CDA5
square
#6145CD #CD456D #B1CD45 #45CDA5
split-complementary
#6145CD #CDA545 #6DCD45
monochromatic
#322077 #462DA8 #6145CD #8A75DA #B3A5E7

Accessibility & contrast

On white

6.48
#6145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6145CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145CD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145CD#FFFFFF#000000##FFFFFF
##6145CD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#366783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6145cd;
/* rgb */ color: rgb(97, 69, 205);
/* oklch */ color: oklch(50.2% 0.199 286.2);
Tailwind
colors: {
  custom: {
    50: '#977bdd',
    500: '#6145cd',
    950: '#000000',
  },
}
SCSS
$custom: #6145cd;
$custom-light: #977bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6145cd",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 252.353,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.19919,
    "h": 286.2
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#6145CD
secondary
#C8D49A
accent
#E147C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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