#7262DF#7262DF

#7262DF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.7% C 0.183 H 284.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7262DF
RGBrgb(114, 98, 223)
HSLhsl(248, 66%, 63%)
HSVhsv(248, 56%, 87%)
CMYKcmyk(48.9%, 56.1%, 0%, 12.5%)
CIE-LABlab(49.06, 38.33, -62.00)
CIE-LCHlch(49.06, 72.89, 301.72°)
OKLaboklab(57.66% 0.0472 -0.1771)
OKLCHoklch(57.66% 0.183 284.9)
XYZxyz(24.6224, 17.6393, 71.9051)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262DF #CFDF62
analogous
#6290DF #7262DF #B062DF
triadic
#7262DF #DF7262 #62DF72
tetradic
#7262DF #DF6290 #CFDF62 #62DFB0
square
#7262DF #DF6290 #CFDF62 #62DFB0
split-complementary
#7262DF #DFB062 #90DF62
monochromatic
#3222A5 #442FD5 #7262DF #A095E9 #CDC8F4

Accessibility & contrast

On white

4.64
#7262DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7262DF#FFFFFF#000000##FFFFFF
##7262DF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A78E3
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#4B7E97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7262df;
/* rgb */ color: rgb(114, 98, 223);
/* oklch */ color: oklch(57.7% 0.183 284.9);
Tailwind
colors: {
  custom: {
    50: '#a28fea',
    500: '#7262df',
    950: '#000000',
  },
}
SCSS
$custom: #7262df;
$custom-light: #a28fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7262df",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 247.68,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.18331,
    "h": 284.9
  },
  "luminance": 0.1764
}

Semantic roles & 50–950 ramp

primary
#7262DF
secondary
#DFE5B8
accent
#CE17B7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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