#6142CC#6142CC

#6142CC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.7% C 0.202 H 286.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6142CC
RGBrgb(97, 66, 204)
HSLhsl(253, 58%, 53%)
HSVhsv(253, 68%, 80%)
CMYKcmyk(52.5%, 67.6%, 0%, 20%)
CIE-LABlab(39.24, 47.84, -67.14)
CIE-LCHlch(39.24, 82.44, 305.47°)
OKLaboklab(49.69% 0.0586 -0.1928)
OKLCHoklch(49.69% 0.202 286.9)
XYZxyz(17.7738, 10.7966, 58.2624)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142CC #ADCC42
analogous
#4268CC #6142CC #A642CC
triadic
#6142CC #CC6142 #42CC61
tetradic
#6142CC #CC4268 #ADCC42 #42CCA6
square
#6142CC #CC4268 #ADCC42 #42CCA6
split-complementary
#6142CC #CCA642 #68CC42
monochromatic
#321F74 #472CA4 #6142CC #8972D9 #B2A2E6

Accessibility & contrast

On white

6.65
#6142CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6142CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6142CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142CC#FFFFFF#000000##FFFFFF
##6142CC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#376582
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6142cc;
/* rgb */ color: rgb(97, 66, 204);
/* oklch */ color: oklch(49.7% 0.202 286.9);
Tailwind
colors: {
  custom: {
    50: '#9879dd',
    500: '#6142cc',
    950: '#000000',
  },
}
SCSS
$custom: #6142cc;
$custom-light: #9879dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6142cc",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 253.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.20154,
    "h": 286.9
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#6142CC
secondary
#C5D397
accent
#E147BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6142CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6142CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva