#7261A2#7261A2

#7261A2 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.7% C 0.101 H 294.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7261A2
RGBrgb(114, 97, 162)
HSLhsl(256, 26%, 51%)
HSVhsv(256, 40%, 64%)
CMYKcmyk(29.6%, 40.1%, 0%, 36.5%)
CIE-LABlab(45.27, 21.62, -32.77)
CIE-LCHlch(45.27, 39.26, 303.41°)
OKLaboklab(53.68% 0.0423 -0.0916)
OKLCHoklch(53.68% 0.101 294.8)
XYZxyz(17.7341, 14.7352, 36.0853)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7261A2 #91A261
analogous
#6170A2 #7261A2 #9261A2
triadic
#7261A2 #A27261 #61A272
tetradic
#7261A2 #A26170 #91A261 #61A292
square
#7261A2 #A26170 #91A261 #61A292
split-complementary
#7261A2 #A29261 #70A261
monochromatic
#3C3356 #57497D #7261A2 #9488B9 #B7AECF

Accessibility & contrast

On white

5.32
#7261A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7261A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7261A2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7261A2#FFFFFF#000000##FFFFFF
##7261A21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA4
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#686C7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7261a2;
/* rgb */ color: rgb(114, 97, 162);
/* oklch */ color: oklch(53.7% 0.101 294.8);
Tailwind
colors: {
  custom: {
    50: '#9c8ebe',
    500: '#7261a2',
    950: '#000000',
  },
}
SCSS
$custom: #7261a2;
$custom-light: #9c8ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7261a2",
  "rgb": {
    "r": 114,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 255.692,
    "s": 25.896,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.10085,
    "h": 294.8
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#7261A2
secondary
#B6BEA1
accent
#C266AA
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7261A2

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

Preview Lab → · Contrast checker → · Palette generator →

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