#7162ED#7162ED

#7162ED is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.6% C 0.201 H 283.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7162ED
RGBrgb(113, 98, 237)
HSLhsl(246, 79%, 66%)
HSVhsv(246, 59%, 93%)
CMYKcmyk(52.3%, 58.6%, 0%, 7.1%)
CIE-LABlab(49.93, 42.30, -68.48)
CIE-LCHlch(49.93, 80.49, 301.70°)
OKLaboklab(58.58% 0.0458 -0.1962)
OKLCHoklch(58.58% 0.201 283.1)
XYZxyz(26.4591, 18.3590, 82.2538)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7162ED #DEED62
analogous
#6298ED #7162ED #B662ED
triadic
#7162ED #ED7162 #62ED71
tetradic
#7162ED #ED6298 #DEED62 #62EDB6
square
#7162ED #ED6298 #DEED62 #62EDB6
split-complementary
#7162ED #EDB662 #98ED62
monochromatic
#2816BF #3F2BE7 #7162ED #A399F3 #D4D0FA

Accessibility & contrast

On white

4.49
#7162ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7162ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7162ED
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7162ED#FFFFFF#000000##000000
##7162ED1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#3D839E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7162ed;
/* rgb */ color: rgb(113, 98, 237);
/* oklch */ color: oklch(58.6% 0.201 283.1);
Tailwind
colors: {
  custom: {
    50: '#a38ff4',
    500: '#7162ed',
    950: '#000000',
  },
}
SCSS
$custom: #7162ed;
$custom-light: #a38ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7162ed",
  "rgb": {
    "r": 113,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 246.475,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.20149,
    "h": 283.1
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#7162ED
secondary
#E8EDBE
accent
#DC0AC5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7162ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7162ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva