#7233B2#7233B2

#7233B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.191 H 302.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7233B2
RGBrgb(114, 51, 178)
HSLhsl(270, 55%, 45%)
HSVhsv(270, 71%, 70%)
CMYKcmyk(36%, 71.3%, 0%, 30.2%)
CIE-LABlab(36.29, 51.59, -56.61)
CIE-LCHlch(36.29, 76.59, 312.34°)
OKLaboklab(47.37% 0.1016 -0.1613)
OKLCHoklch(47.37% 0.191 302.2)
XYZxyz(16.1572, 9.1594, 43.0276)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233B2 #73B233
analogous
#3333B2 #7233B2 #B233B2
triadic
#7233B2 #B27233 #33B272
tetradic
#7233B2 #B23333 #73B233 #33B2B2
square
#7233B2 #B23333 #73B233 #33B2B2
split-complementary
#7233B2 #B2B233 #33B233
monochromatic
#351853 #542582 #7233B2 #9154CE #AF84DC

Accessibility & contrast

On white

7.42
#7233B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7233B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233B2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233B2#FFFFFF#000000##FFFFFF
##7233B21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#65526F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7233b2;
/* rgb */ color: rgb(114, 51, 178);
/* oklch */ color: oklch(47.4% 0.191 302.2);
Tailwind
colors: {
  custom: {
    50: '#a070ca',
    500: '#7233b2',
    950: '#000000',
  },
}
SCSS
$custom: #7233b2;
$custom-light: #a070ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7233b2",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 269.764,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.19061,
    "h": 302.2
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#7233B2
secondary
#A1C57C
accent
#DF4994
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7233B2

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

Preview Lab → · Contrast checker → · Palette generator →

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