#6142CE#6142CE

#6142CE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.9% C 0.204 H 286.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6142CE
RGBrgb(97, 66, 206)
HSLhsl(253, 59%, 53%)
HSVhsv(253, 68%, 81%)
CMYKcmyk(52.9%, 68%, 0%, 19.2%)
CIE-LABlab(39.40, 48.42, -68.03)
CIE-LCHlch(39.40, 83.50, 305.44°)
OKLaboklab(49.86% 0.0583 -0.1954)
OKLCHoklch(49.86% 0.204 286.6)
XYZxyz(18.0152, 10.8931, 59.5339)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142CE #AFCE42
analogous
#4269CE #6142CE #A742CE
triadic
#6142CE #CE6142 #42CE61
tetradic
#6142CE #CE4269 #AFCE42 #42CEA7
square
#6142CE #CE4269 #AFCE42 #42CEA7
split-complementary
#6142CE #CEA742 #69CE42
monochromatic
#321F77 #472BA7 #6142CE #8A73DB #B2A3E7

Accessibility & contrast

On white

6.61
#6142CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6142CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6142CE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142CE#FFFFFF#000000##FFFFFF
##6142CE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#356683
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6142ce;
/* rgb */ color: rgb(97, 66, 206);
/* oklch */ color: oklch(49.9% 0.204 286.6);
Tailwind
colors: {
  custom: {
    50: '#9879de',
    500: '#6142ce',
    950: '#000000',
  },
}
SCSS
$custom: #6142ce;
$custom-light: #9879de;
$custom-dark: #000000;
JSON
{
  "hex": "#6142ce",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 253.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.20395,
    "h": 286.6
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#6142CE
secondary
#C7D498
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6142CE

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

Preview Lab → · Contrast checker → · Palette generator →

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