#7262BC#7262BC

#7262BC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.4% C 0.136 H 289.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7262BC
RGBrgb(114, 98, 188)
HSLhsl(251, 40%, 56%)
HSVhsv(251, 48%, 74%)
CMYKcmyk(39.4%, 47.9%, 0%, 26.3%)
CIE-LABlab(46.90, 28.16, -45.41)
CIE-LCHlch(46.90, 53.43, 301.80°)
OKLaboklab(55.36% 0.0451 -0.1284)
OKLCHoklch(55.36% 0.136 289.4)
XYZxyz(20.3817, 15.9430, 49.5706)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262BC #ACBC62
analogous
#627FBC #7262BC #9F62BC
triadic
#7262BC #BC7262 #62BC72
tetradic
#7262BC #BC627F #ACBC62 #62BC9F
square
#7262BC #BC627F #ACBC62 #62BC9F
split-complementary
#7262BC #BC9F62 #7FBC62
monochromatic
#3D3173 #53439E #7262BC #998DCE #BFB8E1

Accessibility & contrast

On white

5.01
#7262BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7262BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262BC#FFFFFF#000000##FFFFFF
##7262BC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#5E7486
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7262bc;
/* rgb */ color: rgb(114, 98, 188);
/* oklch */ color: oklch(55.4% 0.136 289.4);
Tailwind
colors: {
  custom: {
    50: '#9e8fd1',
    500: '#7262bc',
    950: '#000000',
  },
}
SCSS
$custom: #7262bc;
$custom-light: #9e8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7262bc",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 250.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.1361,
    "h": 289.4
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#7262BC
secondary
#C9CFAA
accent
#D058BB
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7262BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7262BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva