#6A25BC#6A25BC

#6A25BC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.214 H 297.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6A25BC
RGBrgb(106, 37, 188)
HSLhsl(267, 67%, 44%)
HSVhsv(267, 80%, 74%)
CMYKcmyk(43.6%, 80.3%, 0%, 26.3%)
CIE-LABlab(34.02, 58.62, -66.28)
CIE-LCHlch(34.02, 88.48, 311.49°)
OKLaboklab(45.81% 0.0997 -0.1898)
OKLCHoklch(45.81% 0.214 297.7)
XYZxyz(15.6802, 8.0179, 48.2887)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25BC #77BC25
analogous
#252CBC #6A25BC #B625BC
triadic
#6A25BC #BC6A25 #25BC6A
tetradic
#6A25BC #BC252C #77BC25 #25BCB6
square
#6A25BC #BC252C #77BC25 #25BCB6
split-complementary
#6A25BC #BCB625 #2CBC25
monochromatic
#301156 #4D1B89 #6A25BC #8944DA #A977E4

Accessibility & contrast

On white

8.07
#6A25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6A25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25BC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25BC#FFFFFF#000000##FFFFFF
##6A25BC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#545071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a25bc;
/* rgb */ color: rgb(106, 37, 188);
/* oklch */ color: oklch(45.8% 0.214 297.7);
Tailwind
colors: {
  custom: {
    50: '#9d69d1',
    500: '#6a25bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a25bc;
$custom-light: #9d69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25bc",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 267.417,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.2144,
    "h": 297.7
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#6A25BC
secondary
#A2CC71
accent
#EA3E9B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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