#7245BD#7245BD

#7245BD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.180 H 296.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7245BD
RGBrgb(114, 69, 189)
HSLhsl(263, 48%, 51%)
HSVhsv(263, 63%, 74%)
CMYKcmyk(39.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(40.42, 45.26, -56.39)
CIE-LCHlch(40.42, 72.31, 308.75°)
OKLaboklab(50.59% 0.0808 -0.1607)
OKLCHoklch(50.59% 0.18 296.7)
XYZxyz(18.2505, 11.5074, 49.3939)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245BD #90BD45
analogous
#4554BD #7245BD #AE45BD
triadic
#7245BD #BD7245 #45BD72
tetradic
#7245BD #BD4554 #90BD45 #45BDAE
square
#7245BD #BD4554 #90BD45 #45BDAE
split-complementary
#7245BD #BDAE45 #54BD45
monochromatic
#3C2464 #573491 #7245BD #9472CD #B69FDD

Accessibility & contrast

On white

6.36
#7245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7245BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245BD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245BD#FFFFFF#000000##FFFFFF
##7245BD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#60607B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7245bd;
/* rgb */ color: rgb(114, 69, 189);
/* oklch */ color: oklch(50.6% 0.180 296.7);
Tailwind
colors: {
  custom: {
    50: '#a07bd2',
    500: '#7245bd',
    950: '#000000',
  },
}
SCSS
$custom: #7245bd;
$custom-light: #a07bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7245bd",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 262.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.17987,
    "h": 296.7
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#7245BD
secondary
#B6CA94
accent
#D751A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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