#6F25C6#6F25C6

#6F25C6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.225 H 297.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6F25C6
RGBrgb(111, 37, 198)
HSLhsl(268, 69%, 46%)
HSVhsv(268, 81%, 78%)
CMYKcmyk(43.9%, 81.3%, 0%, 22.4%)
CIE-LABlab(35.56, 61.72, -69.61)
CIE-LCHlch(35.56, 93.03, 311.56°)
OKLaboklab(47.29% 0.1039 -0.1994)
OKLCHoklch(47.29% 0.225 297.5)
XYZxyz(17.4075, 8.7795, 54.1926)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25C6 #7CC625
analogous
#252BC6 #6F25C6 #BF25C6
triadic
#6F25C6 #C66F25 #25C66F
tetradic
#6F25C6 #C6252B #7CC625 #25C6BF
square
#6F25C6 #C6252B #7CC625 #25C6BF
split-complementary
#6F25C6 #C6BF25 #2BC625
monochromatic
#35125F #521B92 #6F25C6 #8E4BDD #AE7EE7

Accessibility & contrast

On white

7.62
#6F25C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6F25C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25C6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25C6#FFFFFF#000000##FFFFFF
##6F25C61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#585477
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f25c6;
/* rgb */ color: rgb(111, 37, 198);
/* oklch */ color: oklch(47.3% 0.225 297.5);
Tailwind
colors: {
  custom: {
    50: '#a16ad8',
    500: '#6f25c6',
    950: '#000000',
  },
}
SCSS
$custom: #6f25c6;
$custom-light: #a16ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25c6",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 267.578,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.22488,
    "h": 297.5
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#6F25C6
secondary
#A7CF77
accent
#EB3C9B
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6F25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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