#7262BF#7262BF

#7262BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.5% C 0.140 H 288.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7262BF
RGBrgb(114, 98, 191)
HSLhsl(250, 42%, 57%)
HSVhsv(250, 49%, 75%)
CMYKcmyk(40.3%, 48.7%, 0%, 25.1%)
CIE-LABlab(47.07, 29.01, -46.87)
CIE-LCHlch(47.07, 55.12, 301.75°)
OKLaboklab(55.54% 0.0454 -0.1327)
OKLCHoklch(55.54% 0.14 288.9)
XYZxyz(20.7085, 16.0737, 51.2915)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262BF #AFBF62
analogous
#6281BF #7262BF #A162BF
triadic
#7262BF #BF7262 #62BF72
tetradic
#7262BF #BF6281 #AFBF62 #62BFA1
square
#7262BF #BF6281 #AFBF62 #62BFA1
split-complementary
#7262BF #BFA162 #81BF62
monochromatic
#3C3076 #5242A2 #7262BF #998DD1 #C0B9E2

Accessibility & contrast

On white

4.98
#7262BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7262BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7262BF#FFFFFF#000000##FFFFFF
##7262BF1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#5D7587
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7262bf;
/* rgb */ color: rgb(114, 98, 191);
/* oklch */ color: oklch(55.5% 0.140 288.9);
Tailwind
colors: {
  custom: {
    50: '#9e8fd3',
    500: '#7262bf',
    950: '#000000',
  },
}
SCSS
$custom: #7262bf;
$custom-light: #9e8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7262bf",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 250.323,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.14026,
    "h": 288.9
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#7262BF
secondary
#CBD1AB
accent
#D256BD
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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