#7233BA#7233BA

#7233BA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.199 H 300.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7233BA
RGBrgb(114, 51, 186)
HSLhsl(268, 57%, 46%)
HSVhsv(268, 73%, 73%)
CMYKcmyk(38.7%, 72.6%, 0%, 27.1%)
CIE-LABlab(36.91, 53.56, -60.33)
CIE-LCHlch(36.91, 80.68, 311.60°)
OKLaboklab(48.01% 0.1001 -0.1722)
OKLCHoklch(48.01% 0.199 300.2)
XYZxyz(16.9840, 9.4901, 47.3818)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233BA #7BBA33
analogous
#3338BA #7233BA #B633BA
triadic
#7233BA #BA7233 #33BA72
tetradic
#7233BA #BA3338 #7BBA33 #33BAB6
square
#7233BA #BA3338 #7BBA33 #33BAB6
split-complementary
#7233BA #BAB633 #38BA33
monochromatic
#37195A #55268A #7233BA #9159D1 #B189DF

Accessibility & contrast

On white

7.25
#7233BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7233BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233BA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233BA#FFFFFF#000000##FFFFFF
##7233BA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#625573
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7233ba;
/* rgb */ color: rgb(114, 51, 186);
/* oklch */ color: oklch(48.0% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#a170d0',
    500: '#7233ba',
    950: '#000000',
  },
}
SCSS
$custom: #7233ba;
$custom-light: #a170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7233ba",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 268,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.19919,
    "h": 300.2
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#7233BA
secondary
#A7C980
accent
#E04899
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7233BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7233BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva