#6125C6#6125C6

#6125C6 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.224 H 291.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6125C6
RGBrgb(97, 37, 198)
HSLhsl(262, 69%, 46%)
HSVhsv(262, 81%, 78%)
CMYKcmyk(51%, 81.3%, 0%, 22.4%)
CIE-LABlab(33.86, 59.90, -72.46)
CIE-LCHlch(33.86, 94.01, 309.58°)
OKLaboklab(45.74% 0.0827 -0.2082)
OKLCHoklch(45.74% 0.224 291.7)
XYZxyz(15.7815, 7.9411, 54.1164)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125C6 #8AC625
analogous
#2539C6 #6125C6 #B125C6
triadic
#6125C6 #C66125 #25C661
tetradic
#6125C6 #C62539 #8AC625 #25C6B1
square
#6125C6 #C62539 #8AC625 #25C6B1
split-complementary
#6125C6 #C6B125 #39C625
monochromatic
#2E125F #481B92 #6125C6 #814BDD #A57EE7

Accessibility & contrast

On white

8.11
#6125C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6125C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125C6
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125C6#FFFFFF#000000##FFFFFF
##6125C61.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#3E5577
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6125c6;
/* rgb */ color: rgb(97, 37, 198);
/* oklch */ color: oklch(45.7% 0.224 291.7);
Tailwind
colors: {
  custom: {
    50: '#9968d9',
    500: '#6125c6',
    950: '#000000',
  },
}
SCSS
$custom: #6125c6;
$custom-light: #9968d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6125c6",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 262.36,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.22405,
    "h": 291.7
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#6125C6
secondary
#AFCF77
accent
#EB3CAA
background
#FAF6FD
surface
#F3EBFB
border
#CDC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6125C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6125C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva