#6B25C4#6B25C4

#6B25C4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.223 H 296.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6B25C4
RGBrgb(107, 37, 196)
HSLhsl(266, 68%, 46%)
HSVhsv(266, 81%, 77%)
CMYKcmyk(45.4%, 81.1%, 0%, 23.1%)
CIE-LABlab(34.87, 60.70, -69.58)
CIE-LCHlch(34.87, 92.33, 311.10°)
OKLaboklab(46.65% 0.0986 -0.1995)
OKLCHoklch(46.65% 0.223 296.3)
XYZxyz(16.6861, 8.4341, 52.9626)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25C4 #7EC425
analogous
#252FC4 #6B25C4 #BA25C4
triadic
#6B25C4 #C46B25 #25C46B
tetradic
#6B25C4 #C4252F #7EC425 #25C4BA
square
#6B25C4 #C4252F #7EC425 #25C4BA
split-complementary
#6B25C4 #C4BA25 #2FC425
monochromatic
#33125D #4F1B91 #6B25C4 #8A49DD #AB7DE6

Accessibility & contrast

On white

7.82
#6B25C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6B25C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25C4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25C4#FFFFFF#000000##FFFFFF
##6B25C41.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#525376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b25c4;
/* rgb */ color: rgb(107, 37, 196);
/* oklch */ color: oklch(46.6% 0.223 296.3);
Tailwind
colors: {
  custom: {
    50: '#9e69d7',
    500: '#6b25c4',
    950: '#000000',
  },
}
SCSS
$custom: #6b25c4;
$custom-light: #9e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25c4",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 266.415,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.22251,
    "h": 296.3
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#6B25C4
secondary
#A8CF76
accent
#EB3D9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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