#7237BF#7237BF

#7237BF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.200 H 298.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7237BF
RGBrgb(114, 55, 191)
HSLhsl(266, 55%, 48%)
HSVhsv(266, 71%, 75%)
CMYKcmyk(40.3%, 71.2%, 0%, 25.1%)
CIE-LABlab(37.97, 52.94, -61.55)
CIE-LCHlch(37.97, 81.18, 310.70°)
OKLaboklab(48.88% 0.0953 -0.1758)
OKLCHoklch(48.88% 0.2 298.5)
XYZxyz(17.7072, 10.0711, 50.2911)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7237BF #84BF37
analogous
#3740BF #7237BF #B637BF
triadic
#7237BF #BF7237 #37BF72
tetradic
#7237BF #BF3740 #84BF37 #37BFB6
square
#7237BF #BF3740 #84BF37 #37BFB6
split-complementary
#7237BF #BFB637 #40BF37
monochromatic
#391C60 #56298F #7237BF #9262D2 #B391DF

Accessibility & contrast

On white

6.97
#7237BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7237BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7237BF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7237BF#FFFFFF#000000##FFFFFF
##7237BF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#5F5977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7237bf;
/* rgb */ color: rgb(114, 55, 191);
/* oklch */ color: oklch(48.9% 0.200 298.5);
Tailwind
colors: {
  custom: {
    50: '#a173d3',
    500: '#7237bf',
    950: '#000000',
  },
}
SCSS
$custom: #7237bf;
$custom-light: #a173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7237bf",
  "rgb": {
    "r": 114,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 266.029,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.19996,
    "h": 298.5
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#7237BF
secondary
#ADCA88
accent
#DF499E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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