#7261A7#7261A7

#7261A7 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 53.9% C 0.108 H 293.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7261A7
RGBrgb(114, 97, 167)
HSLhsl(255, 28%, 52%)
HSVhsv(255, 42%, 65%)
CMYKcmyk(31.7%, 41.9%, 0%, 34.5%)
CIE-LABlab(45.52, 22.95, -35.32)
CIE-LCHlch(45.52, 42.13, 303.02°)
OKLaboklab(53.95% 0.0433 -0.099)
OKLCHoklch(53.95% 0.108 293.6)
XYZxyz(18.1874, 14.9165, 38.4727)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7261A7 #96A761
analogous
#6173A7 #7261A7 #9561A7
triadic
#7261A7 #A77261 #61A772
tetradic
#7261A7 #A76173 #96A761 #61A795
square
#7261A7 #A76173 #96A761 #61A795
split-complementary
#7261A7 #A79561 #73A761
monochromatic
#3C335B #574982 #7261A7 #9588BD #B8B0D3

Accessibility & contrast

On white

5.27
#7261A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7261A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7261A7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7261A7#FFFFFF#000000##FFFFFF
##7261A71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAA
Deuteranopia (green-blind)
#4E6BA5
Tritanopia (blue-blind)
#666E7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7261a7;
/* rgb */ color: rgb(114, 97, 167);
/* oklch */ color: oklch(53.9% 0.108 293.6);
Tailwind
colors: {
  custom: {
    50: '#9c8ec1',
    500: '#7261a7',
    950: '#000000',
  },
}
SCSS
$custom: #7261a7;
$custom-light: #9c8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#7261a7",
  "rgb": {
    "r": 114,
    "g": 97,
    "b": 167
  },
  "hsl": {
    "h": 254.571,
    "s": 28.455,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.10802,
    "h": 293.6
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#7261A7
secondary
#BAC1A3
accent
#C563AD
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7261A7

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

Preview Lab → · Contrast checker → · Palette generator →

#7261A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva