#6F25C5#6F25C5

#6F25C5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.224 H 297.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6F25C5
RGBrgb(111, 37, 197)
HSLhsl(268, 68%, 46%)
HSVhsv(268, 81%, 77%)
CMYKcmyk(43.7%, 81.2%, 0%, 22.7%)
CIE-LABlab(35.47, 61.48, -69.17)
CIE-LCHlch(35.47, 92.55, 311.63°)
OKLaboklab(47.2% 0.1042 -0.1981)
OKLCHoklch(47.2% 0.224 297.7)
XYZxyz(17.2925, 8.7335, 53.5872)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25C5 #7BC525
analogous
#252BC5 #6F25C5 #BF25C5
triadic
#6F25C5 #C56F25 #25C56F
tetradic
#6F25C5 #C5252B #7BC525 #25C5BF
square
#6F25C5 #C5252B #7BC525 #25C5BF
split-complementary
#6F25C5 #C5BF25 #2BC525
monochromatic
#35125E #521B91 #6F25C5 #8E4ADD #AE7EE7

Accessibility & contrast

On white

7.65
#6F25C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6F25C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25C5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25C5#FFFFFF#000000##FFFFFF
##6F25C51.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#585377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f25c5;
/* rgb */ color: rgb(111, 37, 197);
/* oklch */ color: oklch(47.2% 0.224 297.7);
Tailwind
colors: {
  custom: {
    50: '#a16ad8',
    500: '#6f25c5',
    950: '#000000',
  },
}
SCSS
$custom: #6f25c5;
$custom-light: #a16ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25c5",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 267.75,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.22389,
    "h": 297.7
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#6F25C5
secondary
#A6CF77
accent
#EB3D9A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6F25C5

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

Preview Lab → · Contrast checker → · Palette generator →

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