#7237BB#7237BB

#7237BB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.196 H 299.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7237BB
RGBrgb(114, 55, 187)
HSLhsl(267, 55%, 47%)
HSVhsv(267, 71%, 73%)
CMYKcmyk(39%, 70.6%, 0%, 26.7%)
CIE-LABlab(37.66, 51.93, -59.71)
CIE-LCHlch(37.66, 79.13, 311.02°)
OKLaboklab(48.56% 0.096 -0.1704)
OKLCHoklch(48.56% 0.196 299.4)
XYZxyz(17.2730, 9.8974, 48.0044)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7237BB #80BB37
analogous
#373EBB #7237BB #B437BB
triadic
#7237BB #BB7237 #37BB72
tetradic
#7237BB #BB373E #80BB37 #37BBB4
square
#7237BB #BB373E #80BB37 #37BBB4
split-complementary
#7237BB #BBB437 #3EBB37
monochromatic
#381B5C #55298C #7237BB #925FD0 #B28EDE

Accessibility & contrast

On white

7.05
#7237BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7237BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7237BB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7237BB#FFFFFF#000000##FFFFFF
##7237BB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#615775
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7237bb;
/* rgb */ color: rgb(114, 55, 187);
/* oklch */ color: oklch(48.6% 0.196 299.4);
Tailwind
colors: {
  custom: {
    50: '#a173d0',
    500: '#7237bb',
    950: '#000000',
  },
}
SCSS
$custom: #7237bb;
$custom-light: #a173d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7237bb",
  "rgb": {
    "r": 114,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 266.818,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.19557,
    "h": 299.4
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#7237BB
secondary
#AAC985
accent
#DE4A9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7237BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7237BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva