#7245CB#7245CB

#7245CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.197 H 293.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7245CB
RGBrgb(114, 69, 203)
HSLhsl(260, 56%, 53%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(43.8%, 66%, 0%, 20.4%)
CIE-LABlab(41.45, 49.01, -62.88)
CIE-LCHlch(41.45, 79.73, 307.93°)
OKLaboklab(51.65% 0.0793 -0.1798)
OKLCHoklch(51.65% 0.197 293.8)
XYZxyz(19.8441, 12.1449, 57.7870)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245CB #9ECB45
analogous
#455BCB #7245CB #B545CB
triadic
#7245CB #CB7245 #45CB72
tetradic
#7245CB #CB455B #9ECB45 #45CBB5
square
#7245CB #CB455B #9ECB45 #45CBB5
split-complementary
#7245CB #CBB545 #5BCB45
monochromatic
#3D2175 #562EA5 #7245CB #9675D8 #BBA5E6

Accessibility & contrast

On white

6.12
#7245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7245CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245CB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245CB#FFFFFF#000000##FFFFFF
##7245CB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#596582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7245cb;
/* rgb */ color: rgb(114, 69, 203);
/* oklch */ color: oklch(51.7% 0.197 293.8);
Tailwind
colors: {
  custom: {
    50: '#a17bdc',
    500: '#7245cb',
    950: '#000000',
  },
}
SCSS
$custom: #7245cb;
$custom-light: #a17bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7245cb",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 260.149,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.1965,
    "h": 293.8
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#7245CB
secondary
#BFD399
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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