#7261AC#7261AC

#7261AC is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.2% C 0.115 H 292.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7261AC
RGBrgb(114, 97, 172)
HSLhsl(254, 31%, 53%)
HSVhsv(254, 44%, 67%)
CMYKcmyk(33.7%, 43.6%, 0%, 32.5%)
CIE-LABlab(45.78, 24.31, -37.86)
CIE-LCHlch(45.78, 44.99, 302.71°)
OKLaboklab(54.23% 0.0442 -0.1063)
OKLCHoklch(54.23% 0.115 292.6)
XYZxyz(18.6586, 15.1050, 40.9542)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7261AC #9BAC61
analogous
#6175AC #7261AC #9761AC
triadic
#7261AC #AC7261 #61AC72
tetradic
#7261AC #AC6175 #9BAC61 #61AC97
square
#7261AC #AC6175 #9BAC61 #61AC97
split-complementary
#7261AC #AC9761 #75AC61
monochromatic
#3D3260 #564888 #7261AC #9689C1 #BAB1D6

Accessibility & contrast

On white

5.22
#7261AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7261AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7261AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7261AC#FFFFFF#000000##FFFFFF
##7261AC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496DAF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#646F7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7261ac;
/* rgb */ color: rgb(114, 97, 172);
/* oklch */ color: oklch(54.2% 0.115 292.6);
Tailwind
colors: {
  custom: {
    50: '#9d8ec5',
    500: '#7261ac',
    950: '#000000',
  },
}
SCSS
$custom: #7261ac;
$custom-light: #9d8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7261ac",
  "rgb": {
    "r": 114,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 253.6,
    "s": 31.12,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.11515,
    "h": 292.6
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#7261AC
secondary
#BDC5A4
accent
#C760B0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7261AC

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

Preview Lab → · Contrast checker → · Palette generator →

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