#6140C8#6140C8

#6140C8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.199 H 287.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6140C8
RGBrgb(97, 64, 200)
HSLhsl(255, 55%, 52%)
HSVhsv(255, 68%, 78%)
CMYKcmyk(51.5%, 68%, 0%, 21.6%)
CIE-LABlab(38.51, 47.77, -66.00)
CIE-LCHlch(38.51, 81.47, 305.90°)
OKLaboklab(49.07% 0.0611 -0.1895)
OKLCHoklch(49.07% 0.199 287.9)
XYZxyz(17.1854, 10.3775, 55.7299)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6140C8 #A7C840
analogous
#4063C8 #6140C8 #A540C8
triadic
#6140C8 #C86140 #40C861
tetradic
#6140C8 #C84063 #A7C840 #40C8A5
square
#6140C8 #C84063 #A7C840 #40C8A5
split-complementary
#6140C8 #C8A540 #63C840
monochromatic
#33206E #492D9D #6140C8 #8870D6 #B09FE3

Accessibility & contrast

On white

6.83
#6140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6140C8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6140C8#FFFFFF#000000##FFFFFF
##6140C81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#3A637F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6140c8;
/* rgb */ color: rgb(97, 64, 200);
/* oklch */ color: oklch(49.1% 0.199 287.9);
Tailwind
colors: {
  custom: {
    50: '#9777da',
    500: '#6140c8',
    950: '#000000',
  },
}
SCSS
$custom: #6140c8;
$custom-light: #9777da;
$custom-dark: #000000;
JSON
{
  "hex": "#6140c8",
  "rgb": {
    "r": 97,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 254.559,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.19907,
    "h": 287.9
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#6140C8
secondary
#C1D094
accent
#DF49BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6140C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6140C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva