#6B25C6#6B25C6

#6B25C6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.225 H 295.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6B25C6
RGBrgb(107, 37, 198)
HSLhsl(266, 69%, 46%)
HSVhsv(266, 81%, 78%)
CMYKcmyk(46%, 81.3%, 0%, 22.4%)
CIE-LABlab(35.05, 61.18, -70.45)
CIE-LCHlch(35.05, 93.31, 310.97°)
OKLaboklab(46.83% 0.0979 -0.202)
OKLCHoklch(46.83% 0.225 295.9)
XYZxyz(16.9153, 8.5257, 54.1695)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25C6 #80C625
analogous
#252FC6 #6B25C6 #BB25C6
triadic
#6B25C6 #C66B25 #25C66B
tetradic
#6B25C6 #C6252F #80C625 #25C6BB
square
#6B25C6 #C6252F #80C625 #25C6BB
split-complementary
#6B25C6 #C6BB25 #2FC625
monochromatic
#33125F #4F1B92 #6B25C6 #8B4BDD #AC7EE7

Accessibility & contrast

On white

7.76
#6B25C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6B25C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25C6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25C6#FFFFFF#000000##FFFFFF
##6B25C61.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#515477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b25c6;
/* rgb */ color: rgb(107, 37, 198);
/* oklch */ color: oklch(46.8% 0.225 295.9);
Tailwind
colors: {
  custom: {
    50: '#9e69d9',
    500: '#6b25c6',
    950: '#000000',
  },
}
SCSS
$custom: #6b25c6;
$custom-light: #9e69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25c6",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 266.087,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.22451,
    "h": 295.9
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#6B25C6
secondary
#A9CF77
accent
#EB3C9F
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B25C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6B25C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva