#7245FB#7245FB

#7245FB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.251 H 286.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7245FB
RGBrgb(114, 69, 251)
HSLhsl(255, 96%, 63%)
HSVhsv(255, 73%, 98%)
CMYKcmyk(54.6%, 72.5%, 0%, 1.6%)
CIE-LABlab(45.36, 62.08, -83.78)
CIE-LCHlch(45.36, 104.27, 306.54°)
OKLaboklab(55.64% 0.0706 -0.2411)
OKLCHoklch(55.64% 0.251 286.3)
XYZxyz(26.4749, 14.7972, 92.7092)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245FB #CEFB45
analogous
#4573FB #7245FB #CD45FB
triadic
#7245FB #FB7245 #45FB72
tetradic
#7245FB #FB4573 #CEFB45 #45FBCD
square
#7245FB #FB4573 #CEFB45 #45FBCD
split-complementary
#7245FB #FBCD45 #73FB45
monochromatic
#3304C1 #4509FA #7245FB #9F81FC #CDBDFE

Accessibility & contrast

On white

5.30
#7245FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7245FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245FB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245FB#FFFFFF#000000##FFFFFF
##7245FB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0066F8
Tritanopia (blue-blind)
#34779D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7245fb;
/* rgb */ color: rgb(114, 69, 251);
/* oklch */ color: oklch(55.6% 0.251 286.3);
Tailwind
colors: {
  custom: {
    50: '#a77dfe',
    500: '#7245fb',
    950: '#000000',
  },
}
SCSS
$custom: #7245fb;
$custom-light: #a77dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7245fb",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 251
  },
  "hsl": {
    "h": 254.835,
    "s": 95.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.25122,
    "h": 286.3
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#7245FB
secondary
#DFEFAD
accent
#E600AD
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7245FB

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

Preview Lab → · Contrast checker → · Palette generator →

#7245FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva