#7245BA#7245BA

#7245BA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.176 H 297.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7245BA
RGBrgb(114, 69, 186)
HSLhsl(263, 46%, 50%)
HSVhsv(263, 63%, 73%)
CMYKcmyk(38.7%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.21, 44.46, -54.98)
CIE-LCHlch(40.21, 70.71, 308.96°)
OKLaboklab(50.37% 0.081 -0.1565)
OKLCHoklch(50.37% 0.176 297.4)
XYZxyz(17.9282, 11.3785, 47.6966)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245BA #8DBA45
analogous
#4553BA #7245BA #AC45BA
triadic
#7245BA #BA7245 #45BA72
tetradic
#7245BA #BA4553 #8DBA45 #45BAAC
square
#7245BA #BA4553 #8DBA45 #45BAAC
split-complementary
#7245BA #BAAC45 #53BA45
monochromatic
#3B2461 #57348D #7245BA #9472CB #B69EDB

Accessibility & contrast

On white

6.41
#7245BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7245BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245BA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245BA#FFFFFF#000000##FFFFFF
##7245BA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#045DB7
Tritanopia (blue-blind)
#615F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7245ba;
/* rgb */ color: rgb(114, 69, 186);
/* oklch */ color: oklch(50.4% 0.176 297.4);
Tailwind
colors: {
  custom: {
    50: '#a07bcf',
    500: '#7245ba',
    950: '#000000',
  },
}
SCSS
$custom: #7245ba;
$custom-light: #a07bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7245ba",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 263.077,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.17626,
    "h": 297.4
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#7245BA
secondary
#B3C893
accent
#D652A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7245BA

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

Preview Lab → · Contrast checker → · Palette generator →

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