#7245BC#7245BC

#7245BC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.179 H 296.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7245BC
RGBrgb(114, 69, 188)
HSLhsl(263, 47%, 50%)
HSVhsv(263, 63%, 74%)
CMYKcmyk(39.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(40.35, 44.99, -55.92)
CIE-LCHlch(40.35, 71.78, 308.82°)
OKLaboklab(50.52% 0.0809 -0.1593)
OKLCHoklch(50.52% 0.179 296.9)
XYZxyz(18.1423, 11.4642, 48.8242)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245BC #8FBC45
analogous
#4553BC #7245BC #AE45BC
triadic
#7245BC #BC7245 #45BC72
tetradic
#7245BC #BC4553 #8FBC45 #45BCAE
square
#7245BC #BC4553 #8FBC45 #45BCAE
split-complementary
#7245BC #BCAE45 #53BC45
monochromatic
#3C2463 #573490 #7245BC #9472CC #B69FDC

Accessibility & contrast

On white

6.38
#7245BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7245BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245BC#FFFFFF#000000##FFFFFF
##7245BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#60607A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7245bc;
/* rgb */ color: rgb(114, 69, 188);
/* oklch */ color: oklch(50.5% 0.179 296.9);
Tailwind
colors: {
  custom: {
    50: '#a07bd1',
    500: '#7245bc',
    950: '#000000',
  },
}
SCSS
$custom: #7245bc;
$custom-light: #a07bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7245bc",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 262.689,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.17867,
    "h": 296.9
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#7245BC
secondary
#B5C994
accent
#D751A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7245BC

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

Preview Lab → · Contrast checker → · Palette generator →

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