#7262BD#7262BD

#7262BD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.4% C 0.137 H 289.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7262BD
RGBrgb(114, 98, 189)
HSLhsl(251, 41%, 56%)
HSVhsv(251, 48%, 74%)
CMYKcmyk(39.7%, 48.1%, 0%, 25.9%)
CIE-LABlab(46.96, 28.44, -45.90)
CIE-LCHlch(46.96, 54.00, 301.78°)
OKLaboklab(55.42% 0.0452 -0.1298)
OKLCHoklch(55.42% 0.137 289.2)
XYZxyz(20.4899, 15.9863, 50.1403)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262BD #ADBD62
analogous
#6280BD #7262BD #A062BD
triadic
#7262BD #BD7262 #62BD72
tetradic
#7262BD #BD6280 #ADBD62 #62BDA0
square
#7262BD #BD6280 #ADBD62 #62BDA0
split-complementary
#7262BD #BDA062 #80BD62
monochromatic
#3D3174 #53439F #7262BD #998DCF #BFB8E1

Accessibility & contrast

On white

5.00
#7262BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7262BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262BD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262BD#FFFFFF#000000##FFFFFF
##7262BD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#5E7486
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7262bd;
/* rgb */ color: rgb(114, 98, 189);
/* oklch */ color: oklch(55.4% 0.137 289.2);
Tailwind
colors: {
  custom: {
    50: '#9e8fd1',
    500: '#7262bd',
    950: '#000000',
  },
}
SCSS
$custom: #7262bd;
$custom-light: #9e8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7262bd",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 250.549,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.13749,
    "h": 289.2
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#7262BD
secondary
#CAD0AB
accent
#D157BB
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7262BD

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

Preview Lab → · Contrast checker → · Palette generator →

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