#7262AA#7262AA

#7262AA is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.3% C 0.111 H 292.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7262AA
RGBrgb(114, 98, 170)
HSLhsl(253, 30%, 53%)
HSVhsv(253, 42%, 67%)
CMYKcmyk(32.9%, 42.4%, 0%, 33.3%)
CIE-LABlab(45.93, 23.16, -36.45)
CIE-LCHlch(45.93, 43.18, 302.43°)
OKLaboklab(54.31% 0.0424 -0.1022)
OKLCHoklch(54.31% 0.111 292.5)
XYZxyz(18.5610, 15.2147, 39.9812)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262AA #9AAA62
analogous
#6276AA #7262AA #9662AA
triadic
#7262AA #AA7262 #62AA72
tetradic
#7262AA #AA6276 #9AAA62 #62AA96
square
#7262AA #AA6276 #9AAA62 #62AA96
split-complementary
#7262AA #AA9662 #76AA62
monochromatic
#3D335E #564986 #7262AA #968ABF #B9B1D5

Accessibility & contrast

On white

5.19
#7262AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7262AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7262AA#FFFFFF#000000##FFFFFF
##7262AA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#4E6BA8
Tritanopia (blue-blind)
#656F7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7262aa;
/* rgb */ color: rgb(114, 98, 170);
/* oklch */ color: oklch(54.3% 0.111 292.5);
Tailwind
colors: {
  custom: {
    50: '#9d8ec3',
    500: '#7262aa',
    950: '#000000',
  },
}
SCSS
$custom: #7262aa;
$custom-light: #9d8ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#7262aa",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 253.333,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.11069,
    "h": 292.5
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#7262AA
secondary
#BDC4A4
accent
#C662B0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7262AA

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

Preview Lab → · Contrast checker → · Palette generator →

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