#7261BD#7261BD

#7261BD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.2% C 0.139 H 289.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7261BD
RGBrgb(114, 97, 189)
HSLhsl(251, 41%, 56%)
HSVhsv(251, 49%, 74%)
CMYKcmyk(39.7%, 48.7%, 0%, 25.9%)
CIE-LABlab(46.71, 29.04, -46.29)
CIE-LCHlch(46.71, 54.65, 302.10°)
OKLaboklab(55.23% 0.0465 -0.131)
OKLCHoklch(55.23% 0.139 289.5)
XYZxyz(20.3969, 15.8003, 50.1093)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7261BD #ACBD61
analogous
#617EBD #7261BD #A061BD
triadic
#7261BD #BD7261 #61BD72
tetradic
#7261BD #BD617E #ACBD61 #61BDA0
square
#7261BD #BD617E #ACBD61 #61BDA0
split-complementary
#7261BD #BDA061 #7EBD61
monochromatic
#3D3073 #53429F #7261BD #998CCF #BFB7E1

Accessibility & contrast

On white

5.05
#7261BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7261BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7261BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7261BD#FFFFFF#000000##FFFFFF
##7261BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C0
Deuteranopia (green-blind)
#3E6DBB
Tritanopia (blue-blind)
#5E7486
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7261bd;
/* rgb */ color: rgb(114, 97, 189);
/* oklch */ color: oklch(55.2% 0.139 289.5);
Tailwind
colors: {
  custom: {
    50: '#9e8ed1',
    500: '#7261bd',
    950: '#000000',
  },
}
SCSS
$custom: #7261bd;
$custom-light: #9e8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#7261bd",
  "rgb": {
    "r": 114,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 251.087,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55233,
    "c": 0.139,
    "h": 289.5
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#7261BD
secondary
#C9D0AA
accent
#D157BA
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7261BD

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

Preview Lab → · Contrast checker → · Palette generator →

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