#7262B2#7262B2

#7262B2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 54.8% C 0.122 H 291.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7262B2
RGBrgb(114, 98, 178)
HSLhsl(252, 34%, 54%)
HSVhsv(252, 45%, 70%)
CMYKcmyk(36%, 44.9%, 0%, 30.2%)
CIE-LABlab(46.35, 25.35, -40.47)
CIE-LCHlch(46.35, 47.75, 302.07°)
OKLaboklab(54.76% 0.0438 -0.1139)
OKLCHoklch(54.76% 0.122 291)
XYZxyz(19.3409, 15.5267, 44.0888)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262B2 #A2B262
analogous
#627AB2 #7262B2 #9A62B2
triadic
#7262B2 #B27262 #62B272
tetradic
#7262B2 #B2627A #A2B262 #62B29A
square
#7262B2 #B2627A #A2B262 #62B29A
split-complementary
#7262B2 #B29A62 #7AB262
monochromatic
#3D3367 #554790 #7262B2 #978BC6 #BCB4DA

Accessibility & contrast

On white

5.12
#7262B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7262B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262B2#FFFFFF#000000##FFFFFF
##7262B21.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#627181
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7262b2;
/* rgb */ color: rgb(114, 98, 178);
/* oklch */ color: oklch(54.8% 0.122 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d8fc9',
    500: '#7262b2',
    950: '#000000',
  },
}
SCSS
$custom: #7262b2;
$custom-light: #9d8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7262b2",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 252,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.12206,
    "h": 291
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#7262B2
secondary
#C2C9A7
accent
#CA5EB5
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #7262B2

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

Preview Lab → · Contrast checker → · Palette generator →

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