#6B25BC#6B25BC

#6B25BC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.215 H 298.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6B25BC
RGBrgb(107, 37, 188)
HSLhsl(268, 67%, 44%)
HSVhsv(268, 80%, 74%)
CMYKcmyk(43.1%, 80.3%, 0%, 26.3%)
CIE-LABlab(34.15, 58.77, -66.06)
CIE-LCHlch(34.15, 88.42, 311.65°)
OKLaboklab(45.93% 0.1011 -0.1892)
OKLCHoklch(45.93% 0.215 298.1)
XYZxyz(15.7997, 8.0795, 48.2943)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25BC #76BC25
analogous
#252ABC #6B25BC #B725BC
triadic
#6B25BC #BC6B25 #25BC6B
tetradic
#6B25BC #BC252A #76BC25 #25BCB7
square
#6B25BC #BC252A #76BC25 #25BCB7
split-complementary
#6B25BC #BCB725 #2ABC25
monochromatic
#311156 #4E1B89 #6B25BC #8A44DA #AA77E4

Accessibility & contrast

On white

8.03
#6B25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6B25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25BC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25BC#FFFFFF#000000##FFFFFF
##6B25BC1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#565071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b25bc;
/* rgb */ color: rgb(107, 37, 188);
/* oklch */ color: oklch(45.9% 0.215 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d69d1',
    500: '#6b25bc',
    950: '#000000',
  },
}
SCSS
$custom: #6b25bc;
$custom-light: #9d69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25bc",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 267.815,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.21451,
    "h": 298.1
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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