#6145E2#6145E2

#6145E2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.224 H 283.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6145E2
RGBrgb(97, 69, 226)
HSLhsl(251, 73%, 58%)
HSVhsv(251, 69%, 89%)
CMYKcmyk(57.1%, 69.5%, 0%, 11.4%)
CIE-LABlab(41.67, 52.64, -75.79)
CIE-LCHlch(41.67, 92.28, 304.79°)
OKLaboklab(52% 0.0524 -0.2182)
OKLCHoklch(52% 0.224 283.5)
XYZxyz(20.7811, 12.2873, 73.2134)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145E2 #C6E245
analogous
#4577E2 #6145E2 #B045E2
triadic
#6145E2 #E26145 #45E261
tetradic
#6145E2 #E24577 #C6E245 #45E2B0
square
#6145E2 #E24577 #C6E245 #45E2B0
split-complementary
#6145E2 #E2B045 #77E245
monochromatic
#2E1795 #3E20CA #6145E2 #8E7AEA #BBAFF3

Accessibility & contrast

On white

6.07
#6145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145E2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145E2#FFFFFF#000000##FFFFFF
##6145E21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#196F8F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6145e2;
/* rgb */ color: rgb(97, 69, 226);
/* oklch */ color: oklch(52.0% 0.224 283.5);
Tailwind
colors: {
  custom: {
    50: '#9b7bec',
    500: '#6145e2',
    950: '#000000',
  },
}
SCSS
$custom: #6145e2;
$custom-light: #9b7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6145e2",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 250.701,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.22441,
    "h": 283.5
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#6145E2
secondary
#D6E1A2
accent
#F038CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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