#7261BB#7261BB

#7261BB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.1% C 0.136 H 289.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7261BB
RGBrgb(114, 97, 187)
HSLhsl(251, 40%, 56%)
HSVhsv(251, 48%, 73%)
CMYKcmyk(39%, 48.1%, 0%, 26.7%)
CIE-LABlab(46.60, 28.48, -45.31)
CIE-LCHlch(46.60, 53.52, 302.15°)
OKLaboklab(55.11% 0.0463 -0.1281)
OKLCHoklch(55.11% 0.136 289.9)
XYZxyz(20.1813, 15.7141, 48.9739)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7261BB #AABB61
analogous
#617DBB #7261BB #9F61BB
triadic
#7261BB #BB7261 #61BB72
tetradic
#7261BB #BB617D #AABB61 #61BB9F
square
#7261BB #BB617D #AABB61 #61BB9F
split-complementary
#7261BB #BB9F61 #7DBB61
monochromatic
#3D3171 #54439C #7261BB #988CCD #BEB7E0

Accessibility & contrast

On white

5.07
#7261BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7261BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7261BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7261BB#FFFFFF#000000##FFFFFF
##7261BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#5F7385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7261bb;
/* rgb */ color: rgb(114, 97, 187);
/* oklch */ color: oklch(55.1% 0.136 289.9);
Tailwind
colors: {
  custom: {
    50: '#9e8ed0',
    500: '#7261bb',
    950: '#000000',
  },
}
SCSS
$custom: #7261bb;
$custom-light: #9e8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7261bb",
  "rgb": {
    "r": 114,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 251.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.13623,
    "h": 289.9
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#7261BB
secondary
#C8CFA9
accent
#D058B9
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7261BB

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

Preview Lab → · Contrast checker → · Palette generator →

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