#6145CE#6145CE

#6145CE is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.3% C 0.200 H 286.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6145CE
RGBrgb(97, 69, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 67%, 81%)
CMYKcmyk(52.9%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.00, 46.77, -67.04)
CIE-LCHlch(40.00, 81.74, 304.90°)
OKLaboklab(50.29% 0.0556 -0.1925)
OKLCHoklch(50.29% 0.2 286.1)
XYZxyz(18.1951, 11.2529, 59.5938)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145CE #B2CE45
analogous
#456ECE #6145CE #A645CE
triadic
#6145CE #CE6145 #45CE61
tetradic
#6145CE #CE456E #B2CE45 #45CEA6
square
#6145CE #CE456E #B2CE45 #45CEA6
split-complementary
#6145CE #CEA645 #6ECE45
monochromatic
#322079 #462DA9 #6145CE #8A75DB #B3A6E8

Accessibility & contrast

On white

6.46
#6145CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6145CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145CE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145CE#FFFFFF#000000##FFFFFF
##6145CE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#356884
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6145ce;
/* rgb */ color: rgb(97, 69, 206);
/* oklch */ color: oklch(50.3% 0.200 286.1);
Tailwind
colors: {
  custom: {
    50: '#987bde',
    500: '#6145ce',
    950: '#000000',
  },
}
SCSS
$custom: #6145ce;
$custom-light: #987bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6145ce",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 252.263,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.2004,
    "h": 286.1
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#6145CE
secondary
#C9D59A
accent
#E246C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6145CE

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

Preview Lab → · Contrast checker → · Palette generator →

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