#7262CF#7262CF

#7262CF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.6% C 0.162 H 286.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7262CF
RGBrgb(114, 98, 207)
HSLhsl(249, 53%, 60%)
HSVhsv(249, 53%, 81%)
CMYKcmyk(44.9%, 52.7%, 0%, 18.8%)
CIE-LABlab(48.03, 33.62, -54.55)
CIE-LCHlch(48.03, 64.08, 301.65°)
OKLaboklab(56.57% 0.0467 -0.1552)
OKLCHoklch(56.57% 0.162 286.7)
XYZxyz(22.5664, 16.8168, 61.0763)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262CF #BFCF62
analogous
#6289CF #7262CF #A862CF
triadic
#7262CF #CF7262 #62CF72
tetradic
#7262CF #CF6289 #BFCF62 #62CFA8
square
#7262CF #CF6289 #BFCF62 #62CFA8
split-complementary
#7262CF #CFA862 #89CF62
monochromatic
#392B8C #4C39BB #7262CF #9C91DD #C6C0EC

Accessibility & contrast

On white

4.81
#7262CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7262CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7262CF#FFFFFF#000000##FFFFFF
##7262CF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#55798F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7262cf;
/* rgb */ color: rgb(114, 98, 207);
/* oklch */ color: oklch(56.6% 0.162 286.7);
Tailwind
colors: {
  custom: {
    50: '#a08fde',
    500: '#7262cf',
    950: '#000000',
  },
}
SCSS
$custom: #7262cf;
$custom-light: #a08fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7262cf",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 248.807,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.1621,
    "h": 286.7
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#7262CF
secondary
#D5DBB1
accent
#DD4BC7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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