#6A25C4#6A25C4

#6A25C4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.222 H 295.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6A25C4
RGBrgb(106, 37, 196)
HSLhsl(266, 68%, 46%)
HSVhsv(266, 81%, 77%)
CMYKcmyk(45.9%, 81.1%, 0%, 23.1%)
CIE-LABlab(34.75, 60.56, -69.79)
CIE-LCHlch(34.75, 92.40, 310.95°)
OKLaboklab(46.53% 0.0971 -0.2001)
OKLCHoklch(46.53% 0.222 295.9)
XYZxyz(16.5666, 8.3724, 52.9570)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25C4 #7FC425
analogous
#252FC4 #6A25C4 #B925C4
triadic
#6A25C4 #C46A25 #25C46A
tetradic
#6A25C4 #C4252F #7FC425 #25C4B9
square
#6A25C4 #C4252F #7FC425 #25C4B9
split-complementary
#6A25C4 #C4B925 #2FC425
monochromatic
#32125D #4E1B91 #6A25C4 #8949DD #AB7DE6

Accessibility & contrast

On white

7.85
#6A25C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6A25C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25C4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25C4#FFFFFF#000000##FFFFFF
##6A25C41.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#505376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a25c4;
/* rgb */ color: rgb(106, 37, 196);
/* oklch */ color: oklch(46.5% 0.222 295.9);
Tailwind
colors: {
  custom: {
    50: '#9e69d7',
    500: '#6a25c4',
    950: '#000000',
  },
}
SCSS
$custom: #6a25c4;
$custom-light: #9e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25c4",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 266.038,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.22242,
    "h": 295.9
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#6A25C4
secondary
#A8CF76
accent
#EB3D9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6A25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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