#7238BB#7238BB

#7238BB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.194 H 299.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7238BB
RGBrgb(114, 56, 187)
HSLhsl(267, 54%, 48%)
HSVhsv(267, 70%, 73%)
CMYKcmyk(39%, 70.1%, 0%, 26.7%)
CIE-LABlab(37.83, 51.45, -59.43)
CIE-LCHlch(37.83, 78.60, 310.88°)
OKLaboklab(48.68% 0.095 -0.1696)
OKLCHoklch(48.68% 0.194 299.3)
XYZxyz(17.3210, 9.9934, 48.0204)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238BB #81BB38
analogous
#3840BB #7238BB #B338BB
triadic
#7238BB #BB7238 #38BB72
tetradic
#7238BB #BB3840 #81BB38 #38BBB3
square
#7238BB #BB3840 #81BB38 #38BBB3
split-complementary
#7238BB #BBB338 #40BB38
monochromatic
#391C5D #552A8C #7238BB #9261D0 #B290DE

Accessibility & contrast

On white

7.00
#7238BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7238BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7238BB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238BB#FFFFFF#000000##FFFFFF
##7238BB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7238bb;
/* rgb */ color: rgb(114, 56, 187);
/* oklch */ color: oklch(48.7% 0.194 299.3);
Tailwind
colors: {
  custom: {
    50: '#a073d0',
    500: '#7238bb',
    950: '#000000',
  },
}
SCSS
$custom: #7238bb;
$custom-light: #a073d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7238bb",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 266.565,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.19437,
    "h": 299.3
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#7238BB
secondary
#ABC886
accent
#DD4B9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7238BB

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

Preview Lab → · Contrast checker → · Palette generator →

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